From 60301f4aabe57663848e4d7408a7b251ca302325 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Tue, 22 Aug 2017 22:06:42 -0400 Subject: [PATCH] Hide the up arrow for the top-most element --- internal-api/js/manage-categories.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal-api/js/manage-categories.js b/internal-api/js/manage-categories.js index 8364e57e..8cfe46b7 100644 --- a/internal-api/js/manage-categories.js +++ b/internal-api/js/manage-categories.js @@ -72,6 +72,11 @@ function loadTable() { categories[this.id] = this; lastElement = this; + + if (first) { + $template.find('[data-direction="up"]').css('visibility', 'hidden'); + first = false; + } }); if (lastElement) {