Content deleted Content added
Jackmcbarn (talk | contribs) collapse when not on a template |
Jackmcbarn (talk | contribs) this loads first apparently |
||
Line 12:
if($('#wpTemplateSandboxPage').attr('type') == 'hidden') {
$('#templatesandbox-editform').
$('#wpTemplateSandboxPage').before('<span class="mw-templatesandbox-page" id="wpTemplateSandboxPageLabel"><label for="wpTemplateSandboxPage">Page title:</label></span> ').after('<input id="wpTemplateSandboxPreview" name="wpTemplateSandboxPreview" tabindex="' + (+($('#wpDiff').attr('tabIndex')) + 0.75) + '" value="Show preview" type="submit" />').replaceWith($('#wpTemplateSandboxPage').clone().attr({type: 'text', tabindex: +($('#wpDiff').attr('tabIndex')) + 0.5, size: 60, spellcheck: true}));
}
|