Merge "Use document.body instead of 'body' as jQuery selector"

This commit is contained in:
jenkins-bot 2020-01-05 23:33:24 +00:00 committed by Gerrit Code Review
commit 1f96009221

View file

@ -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' } );