MediaWiki:Gadget-oldeditor.js: Difference between revisions
Content deleted Content added
Attribution: https://en.wikipedia.org/w/index.php?title=User:Matma_Rex/VE_killer.js&action=history |
update |
||
Line 10:
/*global $, mw */
$(document).ready(function(){
var state = mw.loader.getState('ext.visualEditor.viewPageTarget.init');
if(state && state != 'registered') { // 'registered' actually means 'not loading'
mw.loader.using('ext.visualEditor.viewPageTarget.init', function() {
// kill the tab
var caEdit = $('#ca-edit a');
|