Merge "Add "unsaved changes" warning to Special:Preferences"
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.notification.js
index 79ec310..1968aa9 100644 (file)
                        // on links from hiding a notification.
                        .on( 'click', 'a', function ( e ) {
                                e.stopPropagation();
-                       } );
+                       } )
+                       .hide();
 
                // Prepend the notification area to the content area and save it's object.
                mw.util.$content.prepend( $area );