X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=e8c064229adeb8372fd528d5cefa38f8651b7b88;hb=d48f9067db6955d09d1440f2275dae19948c5948;hp=ab36861ab8490663bdca5f22e68a669b5aeb5aeb;hpb=6d802a2baa9d0763373aa98664683da2a59b0b5a;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index ab36861..e8c0642 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -7,11 +7,11 @@ $(document).ready(function() { $("select[name=sort]").change(function() { value = $(this).val(); - if (value == "activity") { + if ((value == "activity") || (value == "posts") || (value == "images")) { $("select[name=order]").val("desc"); } else if (value == "name") { $("select[name=order]").val("asc"); - } + } }); $("#sort-options select").change(function() { this.form.submit(); @@ -29,6 +29,8 @@ + + + + + + +
+
+ + + + +
+
+
<%= page|store key=pageParameter> <%include include/pagination.html>