MediaWiki:Gadget-extra-toolbar-buttons-core.js: Difference between revisions
Content deleted Content added
Added "appendCSS('div.edittools-text { display:none; }');", to prevent static edittools from flashing before compact edittools is loaded. Per MediaWiki talk:Edittools#Add an inner div. |
Don't hide the static edittols when "window.noDefaultEdittools = true". Tested in my user space, so doesn't break anything, but might not work due to CSS load order, but worth a shot. |
||
Line 137:
//Prevent the static edittools from flashing before the compact edittools below is loaded.
if ( window.noDefaultEdittools != true ) {
appendCSS('div.edittools-text { display:none; }');
}
addOnloadHook(function () {
|