Change-Id: I30a3a2bd0dce6391dc075807ffbfdf6fef49d88d
'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,
// Write to the DOM:
// Prepend the notification area to the content area and save its object.
+ // The ID attribute here is deprecated.
$area = $( '<div id="mw-notification-area" class="mw-notification-area mw-notification-area-layout"></div>' )
// Pause auto-hide timers when the mouse is in the notification area.
.on( {