MediaWiki:Common.js: Difference between revisions
Move disclaimer to top; place facts box under it |
Place Editing this page box above soldier heading |
||
| Line 536: | Line 536: | ||
$box.append($panel); | $box.append($panel); | ||
var $ | var $heading = $('#firstHeading').first(); | ||
if ($heading.length) { | |||
if ($ | $heading.before($box); | ||
$ | |||
} else { | } else { | ||
var $output = $('.mw-parser-output').first(); | |||
$output.prepend($box); | $output.prepend($box); | ||
} | } | ||