From 1d6c58b72ec1e3209da6ddaba77ae03b650317dd Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 28 Aug 2018 15:50:14 +0100 Subject: [PATCH] Notifications: Note that the ID is unnecessary and deprecated Change-Id: I30a3a2bd0dce6391dc075807ffbfdf6fef49d88d --- resources/src/mediawiki.notification/notification.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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( { -- 2.20.1