mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Remove unnecessary $() callback
The hook 'wikiEditor.toolbarReady' gets fired after DOM ready. Change-Id: Ic503c3dffcaa4301b3a3b2ab95fd3a5b4f8e7e88
This commit is contained in:
parent
5d0eaf7430
commit
87beb87ea5
|
@ -8,7 +8,7 @@
|
|||
* @author Jon Harald Søby
|
||||
*/
|
||||
|
||||
$( function () {
|
||||
( function () {
|
||||
mw.hook( 'wikiEditor.toolbarReady' ).add( function ( $textarea ) {
|
||||
/* Add the <ref></ref> button to the toolbar */
|
||||
$textarea.wikiEditor( 'addToToolbar', {
|
||||
|
|
Loading…
Reference in a new issue