mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "Use document.body instead of 'body' as jQuery selector"
This commit is contained in:
commit
1f96009221
|
@ -138,7 +138,7 @@ function initDesktop() {
|
|||
loadingPromise = mw.loader.using( 'ext.echo.ui.desktop' ).then( function () {
|
||||
|
||||
// Overlay
|
||||
$( 'body' ).append( mw.echo.ui.$overlay );
|
||||
mw.echo.ui.$overlay.appendTo( document.body );
|
||||
|
||||
unreadAlertCounter = new mw.echo.dm.UnreadNotificationCounter( echoApi, 'alert', maxNotificationCount );
|
||||
alertModelManager = new mw.echo.dm.ModelManager( unreadAlertCounter, { type: 'alert' } );
|
||||
|
|
Loading…
Reference in a new issue