Followup to r86056 per CR: Remove unneeded function wrapping
[lhc/web/wiklou.git] / resources / mediawiki.action / mediawiki.action.history.js
index 92a780b..a03a742 100644 (file)
@@ -83,7 +83,7 @@ jQuery( function( $ ) {
                $diffList.change( updateCompare );
        };
 
-       $( '#pagehistory li input[name="diff"], #pagehistory li input[name="oldid"]' ).click( function() { updateDiffRadios(); } );
+       $( '#pagehistory li input[name="diff"], #pagehistory li input[name="oldid"]' ).click( updateDiffRadios );
        fixCompare();
        updateDiffRadios();
 });
\ No newline at end of file