mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 09:10:12 +00:00
Remove unnecessary item.disconnect
This button doesn't have any events connected, and the wrong `this` is used anyway. Change-Id: Idbb407d63921c19c596268ad4fe274c423ea81c7
This commit is contained in:
parent
e164a32afe
commit
573e7c74ee
|
@ -252,7 +252,6 @@
|
|||
.append( $.parseHTML( messages.description ) );
|
||||
|
||||
// Get rid of the button
|
||||
item.disconnect( this );
|
||||
if ( item.isPrioritized() ) {
|
||||
widget.actionsButtonSelectWidget.removeItems( [ item ] );
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue