From: Ed Sanders Date: Tue, 28 Aug 2018 14:50:14 +0000 (+0100) Subject: Notifications: Note that the ID is unnecessary and deprecated X-Git-Tag: 1.34.0-rc.0~4270^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=1d6c58b72ec1e3209da6ddaba77ae03b650317dd;p=lhc%2Fweb%2Fwiklou.git Notifications: Note that the ID is unnecessary and deprecated Change-Id: I30a3a2bd0dce6391dc075807ffbfdf6fef49d88d --- diff --git a/resources/src/mediawiki.notification/notification.js b/resources/src/mediawiki.notification/notification.js index aa86a4b58a..a163a3d328 100644 --- a/resources/src/mediawiki.notification/notification.js +++ b/resources/src/mediawiki.notification/notification.js @@ -2,7 +2,7 @@ 'use strict'; var notification, - // The #mw-notification-area div that all notifications are contained inside. + // The .mw-notification-area div that all notifications are contained inside. $area, // Number of open notification boxes at any time openNotificationCount = 0, @@ -292,6 +292,7 @@ // Write to the DOM: // Prepend the notification area to the content area and save its object. + // The ID attribute here is deprecated. $area = $( '
' ) // Pause auto-hide timers when the mouse is in the notification area. .on( {