Skip to content

Commit fc6251e

Browse files
committed
move active class to show
1 parent 1e1bfa8 commit fc6251e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/js/modules/fomantic/dimmer.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ export function initFomanticDimmer() {
77
if (arg0 === 'add content') {
88
this._dimmer = document.createElement('div');
99
queryElemChildren(document.body, '.ui.dimmer', (el) => el.remove());
10-
this._dimmer.classList.add('ui', 'dimmer', 'active', 'tw-hidden');
10+
this._dimmer.classList.add('ui', 'dimmer', 'tw-hidden');
1111
this._dimmer.append($el[0]);
1212
document.body.append(this._dimmer);
1313
} else if (arg0 === 'get dimmer') {
1414
return $(this._dimmer);
1515
} else if (arg0 === 'show') {
16+
this._dimmer.classList.add('active');
1617
showElem(this._dimmer);
1718
document.body.classList.add('tw-overflow-hidden');
1819
} else if (arg0 === 'hide') {

0 commit comments

Comments
 (0)