From d4d4d4c5addba29ad574296d2f45391720386169 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Tue, 3 Oct 2017 07:46:27 +0200 Subject: [PATCH] beautify achievement table --- templates/achievements.julius | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/achievements.julius b/templates/achievements.julius index 5b75e01..1d0933c 100644 --- a/templates/achievements.julius +++ b/templates/achievements.julius @@ -4,3 +4,9 @@ autocomplete: true, enforeWhitelist: true}); input.style.display = 'none'; + + $(document).ready(function() { + $("table").DataTable({ + 'pageLength': 50, + 'order': [[1, 'desc']]}); + } );