X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=c0bb35bf4ff368643de127f9c779f12050b4c37e;hp=c113748a9796b6af427019df8c9a97d0bf652110;hb=16bebcb43fb56df0ae5d7f206f9fb4032d145fc0;hpb=30387f44842152a487f4b64c70aae685dff83a70 diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index c113748..c0bb35b 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -7,9 +7,9 @@ $(document).ready(function() { $("select[name=sort]").change(function() { value = $(this).val(); - if ((value == "activity") || (value == "posts") || (value == "images")) { + if ((value === "activity") || (value === "posts") || (value === "images")) { $("select[name=order]").val("desc"); - } else if (value == "name") { + } else if (value === "name") { $("select[name=order]").val("asc"); } });