User:KokoroSenshi/common.js

/* Fix the wrong icons showing in the codeEditor buttons */ $('#wpTextbox1').on('wikiEditor-toolbar-doneInitialSections',function{	$("#wikiEditor-section-main .group-codeeditor-main .wikiEditor-toolbar-spritedButton").removeClass("wikiEditor-toolbar-spritedButton"); }); mw.hook('codeEditor.configure').add(function{	$("#wikiEditor-section-main .group-codeeditor-format .wikiEditor-toolbar-spritedButton").removeClass("wikiEditor-toolbar-spritedButton");	$("#wikiEditor-section-main .group-codeeditor-style .wikiEditor-toolbar-spritedButton").removeClass("wikiEditor-toolbar-spritedButton"); });