yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
MediaWiki:Common.js: Difference between revisions
From 2swagg wiki
Jump to navigationJump to search
Make MonoBook the global default and remove navigation borders Tag: Reverted |
Remove forced Monobook redirect that breaks previews Tag: Manual revert |
||
| Line 12: | Line 12: | ||
}); | }); | ||
}); | }); | ||
Revision as of 03:17, 1 September 2026
/* Multiquote cycle controls */
$(function(){
$(".cyclesequence").find(".cyclesequencelinknext").on("click", function(){
var box=$(this).closest(".cyclesequence"), current=box.find(".cyclesequenceitem:visible");
(current.next(".cyclesequenceitem").length ? current.next(".cyclesequenceitem") : box.find(".cyclesequenceitem:first")).removeClass("hiddentext").siblings(".cyclesequenceitem").addClass("hiddentext");
});
$(".cyclesequence").find(".cyclesequencelinkprev").on("click", function(){
var box=$(this).closest(".cyclesequence"), current=box.find(".cyclesequenceitem:visible");
(current.prev(".cyclesequenceitem").length ? current.prev(".cyclesequenceitem") : box.find(".cyclesequenceitem:last")).removeClass("hiddentext").siblings(".cyclesequenceitem").addClass("hiddentext");
});
});