We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e1bfa8 commit fc6251eCopy full SHA for fc6251e
web_src/js/modules/fomantic/dimmer.js
@@ -7,12 +7,13 @@ export function initFomanticDimmer() {
7
if (arg0 === 'add content') {
8
this._dimmer = document.createElement('div');
9
queryElemChildren(document.body, '.ui.dimmer', (el) => el.remove());
10
- this._dimmer.classList.add('ui', 'dimmer', 'active', 'tw-hidden');
+ this._dimmer.classList.add('ui', 'dimmer', 'tw-hidden');
11
this._dimmer.append($el[0]);
12
document.body.append(this._dimmer);
13
} else if (arg0 === 'get dimmer') {
14
return $(this._dimmer);
15
} else if (arg0 === 'show') {
16
+ this._dimmer.classList.add('active');
17
showElem(this._dimmer);
18
document.body.classList.add('tw-overflow-hidden');
19
} else if (arg0 === 'hide') {
0 commit comments