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:
Ed Sanders 2024-06-03 14:13:27 +01:00
parent e164a32afe
commit 573e7c74ee

View file

@ -252,7 +252,6 @@
.append( $.parseHTML( messages.description ) );
// Get rid of the button
item.disconnect( this );
if ( item.isPrioritized() ) {
widget.actionsButtonSelectWidget.removeItems( [ item ] );
} else {