Revert "Don't load mediawiki.ui.button on page load"
This reverts commit 693087b886.
Reason for revert: This was a bug in my code. Sorry about that.
Change-Id: Ia3bb8d2b38e179a570f94bfd1d989bb51fab41e4
This commit is contained in:
@@ -190,9 +190,7 @@
|
||||
this.compactList[ language ].parentNode.style.display = '';
|
||||
}
|
||||
|
||||
mw.loader.using( 'mediawiki.ui.button' ).then( function () {
|
||||
this.addTrigger();
|
||||
} );
|
||||
this.addTrigger();
|
||||
|
||||
mw.hook( 'mw.uls.compactlinks.initialized' ).fire( true );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user