MediaWiki:Gadget-AutoPatrol.js: Difference between revisions

Want an adless experience? Log in or Create an account.
m
Restore to version 118460 by Emma
m (Restore to version 118450 by Emma)
m (Restore to version 118460 by Emma)
Line 1: Line 1:
$( function() {
function autopatrol() {
        jQuery(".patrollink a").click();
        var $patrollinks = $('.patrollink a');
if ( $patrollinks.length > 0 ){
        jQuery(".patrollink a").click();
};
};
};
$(autopatrol);