/*!
* JavaScript for History action
*/
-jQuery( function ( $ ) {
- var $historyCompareForm = $( '#mw-history-compare' ),
+$( function () {
+ var $historyCompareForm = $( '#mw-history-compare' ),
$historySubmitter,
$lis = $( '#pagehistory > li' );
// the page look broken for a second in slow browsers and might show the form broken
// again when coming back from a "next" page.
$historyCompareForm.submit( function ( e ) {
- var $copyForm, $copyRadios, $copyAction;
+ var $copyForm, $copyRadios, $copyAction;
if ( $historySubmitter ) {
$copyForm = $historyCompareForm.clone();