From 1479e3fb314ec510f9c63b22f0cd194f04110840 Mon Sep 17 00:00:00 2001 From: TheYmirsCla Date: Thu, 31 Oct 2024 00:15:50 -0400 Subject: [PATCH] Delete js/showmodded.js --- js/showmodded.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 js/showmodded.js 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