X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;fp=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=d3f4846dd62acb430cece213a4fdcab3ab9d8817;hb=cf5e594a01b0ad11b1365e8d3f7b1c56f352d3f2;hp=ab36861ab8490663bdca5f22e68a669b5aeb5aeb;hpb=73978bb8f09406e940c1c733aefccdc963744404;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index ab36861..d3f4846 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -7,7 +7,7 @@ $(document).ready(function() { $("select[name=sort]").change(function() { value = $(this).val(); - if (value == "activity") { + if ((value == "activity") || (value == "posts")) { $("select[name=order]").val("desc"); } else if (value == "name") { $("select[name=order]").val("asc"); @@ -29,6 +29,7 @@