Update web_src/js/modules/fomantic/dimmer.ts

This commit is contained in:
silverwind 2024-11-21 03:44:35 +01:00 committed by GitHub
parent c91e5ccc3a
commit 487a60e059
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import {queryElemChildren} from '../../utils/dom.ts';
export function initFomanticDimmer() { export function initFomanticDimmer() {
// stand-in for removed dimmer module // stand-in for removed dimmer module
$.fn.dimmer = function (arg0: any, arg1: () => void) { $.fn.dimmer = function (arg0: string, arg1: any) {
if (arg0 === 'add content') { if (arg0 === 'add content') {
const $el = arg1; const $el = arg1;
const existingDimmer = document.querySelector('body > .ui.dimmer'); const existingDimmer = document.querySelector('body > .ui.dimmer');