MediaWiki:Gadget-oldeditor.js: Difference between revisions
Content deleted Content added
update |
m Clean up |
||
Line 9:
/*global $, mw */
$(document).ready(function (){
var state = mw.loader.getState('ext.visualEditor.viewPageTarget.init');
if (
mw.loader.using('ext.visualEditor.viewPageTarget.init', function () {
//
var caEdit = $('#ca-edit a');
$('#ca-editsource a')
Line 21:
$('#ca-editsource').attr('id', 'ca-edit');
//
$('.mw-editsection-link-secondary')
.text( $('.mw-editsection-link-primary').eq(0).text() )
|