Follows-up
a4b62f1. Fixes bug where initial offset during set up is
wrong and thus causes the used offset to be 0.
Change-Id: I7444bf55a11e817d85bb5c4879022633869fc55d
function init() {
var offset, $window = $( window );
- $area = $( '<div id="mw-notification-area" class="mw-notification-area"></div>' )
+ $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( {
mouseenter: notification.pause,