MediaWiki:Common.js/BattleDecks.js

$(document).ready(function {   $("#BattleDeckNavFilters-Harness").html(ccalcInputs("Common",1,"battledecks"));    $("#BattleDeckFilters").on("change", ".battledecks-rarity-input", function { var newRarity = this.value; $(this).parent.html(ccalcInputs(newRarity,1,"battledecks")); }); });