Delete js/showmodded.js

This commit is contained in:
TheYmirsCla 2024-10-31 00:15:50 -04:00 committed by GitHub
parent 2f15ccb5e3
commit 1479e3fb31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();
});