Remove dead dismiss code

mw.echo.setUpDismissability was removed in 08fc83b6de, and will
never be called since the class is never set.

Change-Id: I1e13bbabaeb7df21c161d4cf4205a1564e1d81d9
This commit is contained in:
Kunal Mehta 2015-06-07 18:30:49 -07:00
parent 70d95fbad0
commit 78dc653c80
2 changed files with 0 additions and 13 deletions

View file

@ -191,12 +191,6 @@
$li.wrapInner( $wrapper );
mw.echo.setupNotificationLogging( $li, 'flyout' );
// Set up each individual notification with a close box and dismiss
// interface if it is dismissable.
if ( $li.find( '.mw-echo-dismiss' ).length ) {
mw.echo.setUpDismissability( $li );
}
} );
if ( !this.markOnView && this.unread.length ) {

View file

@ -32,9 +32,6 @@
// box and dismiss interface if it is dismissable.
$( '.mw-echo-notification' ).each( function () {
mw.echo.setupNotificationLogging( $( this ), 'archive' );
if ( $( this ).find( '.mw-echo-dismiss' ).length ) {
mw.echo.setUpDismissability( this );
}
} );
$( '#mw-echo-moreinfo-link' ).click( function () {
@ -108,10 +105,6 @@
}
mw.echo.setupNotificationLogging( $li, 'archive' );
if ( $li.find( '.mw-echo-dismiss' ).length ) {
mw.echo.setUpDismissability( $li );
}
} );
that.notcontinue = notifications['continue'];