X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;fp=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=21c6be2c7c095eb28b06c19abc13d6de6bbe41eb;hp=a224a68144614700e9ed7b9ea90c3b57413fdef6;hb=7cba88f458cf0fe8831e5e50fd2a848cdadf5492;hpb=dc78b7c18c5f5040fd85b153764f49e7cd981b13 diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index a224a68..21c6be2 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -6,7 +6,7 @@ $(document).ready(function() { $("select[name=sort]").change(function() { - value = $(this).val(); + const value = $(this).val(); if ((value === "activity") || (value === "posts") || (value === "images")) { $("select[name=order]").val("desc"); } else if (value === "name") {