mirror of https://github.com/go-gitea/gitea.git
Update web_src/js/modules/fomantic/dimmer.ts
This commit is contained in:
parent
c91e5ccc3a
commit
487a60e059
|
@ -3,7 +3,7 @@ import {queryElemChildren} from '../../utils/dom.ts';
|
|||
|
||||
export function initFomanticDimmer() {
|
||||
// stand-in for removed dimmer module
|
||||
$.fn.dimmer = function (arg0: any, arg1: () => void) {
|
||||
$.fn.dimmer = function (arg0: string, arg1: any) {
|
||||
if (arg0 === 'add content') {
|
||||
const $el = arg1;
|
||||
const existingDimmer = document.querySelector('body > .ui.dimmer');
|
||||
|
|
Loading…
Reference in New Issue