Content deleted Content added
Jackmcbarn (talk | contribs) fix collapse logic to work no matter which one loads first |
Jackmcbarn (talk | contribs) if a page name is pre-filled (i.e., template sandbox is in use), don't hide it |
||
Line 13:
if($('#wpTemplateSandboxPage').attr('type') == 'hidden') {
mw.loader.using('jquery.makeCollapsible', function() {
$('#templatesandbox-editform').makeCollapsible({collapsed:
});
$('#templatesandbox-editform').prepend('<legend>Preview page with this template</legend>');
|