diff --git a/js/showmodded.js b/js/showmodded.js deleted file mode 100644 index 73bea34..0000000 --- a/js/showmodded.js +++ /dev/null @@ -1,21 +0,0 @@ -$(document).ready(function() { - function updateShowModded() { - var isChecked = $("#showModded").is(":checked"); - if (isChecked) { - $("#moddedButtons").show(); - } else { - $("#moddedButtons").hide(); - } - } - function updateButtons() { - $(".modded-buttons").each(function() { - var url = $(this).data("url"); - $(this).attr("href", url); - }); - } - $("#showModded").on("change", function() { - updateShowModded(); - updateButtons(); - }); - updateShowModded(); -}); \ No newline at end of file