From 67cbaf66d2895a924faac9544750da8deb8839f3 Mon Sep 17 00:00:00 2001 From: Tony Moutaux Date: Sun, 15 Apr 2018 07:35:35 +0200 Subject: [PATCH 1/2] Update episode.tpl Remove annoying "Loading..." when not needed on episodes page --- views/episodes.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/episodes.tpl b/views/episodes.tpl index 410fcf196..c0e9d3364 100644 --- a/views/episodes.tpl +++ b/views/episodes.tpl @@ -317,7 +317,7 @@ }); }) - $('a, i').click(function(){ + $('a, i:not(.dropdown)').click(function(){ $('#loader').addClass('active'); }) @@ -347,4 +347,4 @@ $('.small.modal').modal('show'); }) - \ No newline at end of file + From 2038f3f0cedf9454985a48f4d75b825d0eea386b Mon Sep 17 00:00:00 2001 From: Tony Moutaux Date: Mon, 16 Apr 2018 19:12:02 +0200 Subject: [PATCH 2/2] Update episodes.tpl Fixes "Loading..." display when NOT config modal and accordion --- views/episodes.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/episodes.tpl b/views/episodes.tpl index c0e9d3364..6e22f0389 100644 --- a/views/episodes.tpl +++ b/views/episodes.tpl @@ -317,7 +317,7 @@ }); }) - $('a, i:not(.dropdown)').click(function(){ + $('a, .menu .item, button:not(#config, .cancel)').click(function(){ $('#loader').addClass('active'); })