From c01b8b3015dc909adb495163b9b38e2cde059858 Mon Sep 17 00:00:00 2001 From: tehspede Date: Wed, 25 Feb 2015 22:25:08 +0200 Subject: [PATCH] Hide "Expand All" when all are expanded --- gui/slick/js/manageEpisodeStatuses.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/slick/js/manageEpisodeStatuses.js b/gui/slick/js/manageEpisodeStatuses.js index c7e81e96..af8919f3 100644 --- a/gui/slick/js/manageEpisodeStatuses.js +++ b/gui/slick/js/manageEpisodeStatuses.js @@ -47,6 +47,7 @@ $(document).ready(function() { }); }); $(this).hide(); + ($('.get_more_eps:visible').length == 0 ? $('.expandAll').hide() : ''); }); $('.expandAll').click(function() {