mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-15 02:04:02 +00:00
Merge "Simplify setTimeout"
This commit is contained in:
commit
dba972cf9c
|
@ -502,7 +502,7 @@
|
||||||
if ( !useCodeMirror ) {
|
if ( !useCodeMirror ) {
|
||||||
// Wait for DOM before loading our popup
|
// Wait for DOM before loading our popup
|
||||||
$( function () {
|
$( function () {
|
||||||
window.setTimeout( function () { handlePopup(); }, 500 );
|
setTimeout( handlePopup, 500 );
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue