From: Timo Tijhof Date: Wed, 24 Jul 2013 17:56:06 +0000 (+0200) Subject: mw.notification: Fix incorrect initial offset X-Git-Tag: 1.31.0-rc.0~19130 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=82cb3eb8856f09072a5d2895c678300269f84d73;p=lhc%2Fweb%2Fwiklou.git mw.notification: Fix incorrect initial offset 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 --- diff --git a/resources/mediawiki/mediawiki.notification.js b/resources/mediawiki/mediawiki.notification.js index 146537a39f..70f639c573 100644 --- a/resources/mediawiki/mediawiki.notification.js +++ b/resources/mediawiki/mediawiki.notification.js @@ -352,7 +352,7 @@ function init() { var offset, $window = $( window ); - $area = $( '
' ) + $area = $( '
' ) // Pause auto-hide timers when the mouse is in the notification area. .on( { mouseenter: notification.pause,