Content deleted Content added
Writ Keeper (talk | contribs) fix |
Writ Keeper (talk | contribs) swap for document.ready |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
{
mw.loader.using(["mediawiki.api"]).then(function ()
Line 76:
$(this).prop("checked", true);
});
$("#revdelCP").data("lastSelectedIndex", -1);
}
);
Line 85 ⟶ 86:
$(this).prop("checked", false);
});
$("#revdelCP").data("lastSelectedIndex", -1);
}
);
Line 95 ⟶ 97:
$(this).prop("checked", !($(this).prop("checked")));
});
$("#revdelCP").data("lastSelectedIndex", -1);
}
);
Line 111 ⟶ 114:
for(var i = start; i < stop; i++)
{
if(i != lastSelectedRevdel)
{ $(checkboxArray[i]).prop("checked", !($(checkboxArray[i]).prop("checked"))); }
}
}
Line 118 ⟶ 124:
for(var i = start; i > stop; i--)
{
if(i != lastSelectedRevdel)
{ $(checkboxArray[i]).prop("checked", !($(checkboxArray[i]).prop("checked"))); }
}
}
|