mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
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:
parent
70d95fbad0
commit
78dc653c80
|
@ -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 ) {
|
||||
|
|
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue