From 700a5724bf22f834fccc1afd453b8853e2bcfb66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Fri, 27 Oct 2017 12:13:28 -0400 Subject: [PATCH] Loader not loading for some tabs --- views/settings.tpl | 2 +- views/system.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/settings.tpl b/views/settings.tpl index 9f5be8c73..51d9e997c 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -332,7 +332,7 @@ .tab() ; - $('a.menu').click(function(){ + $('a, button:not(.cancel)').click(function(){ $('#loader').addClass('active'); }) diff --git a/views/system.tpl b/views/system.tpl index 8765bd7dc..9b5ad8d9c 100644 --- a/views/system.tpl +++ b/views/system.tpl @@ -179,7 +179,7 @@ icon"> $('.small.modal').modal('show'); }) - $('a.menu').click(function(){ + $('a, button:not(.cancel)').click(function(){ $('#loader').addClass('active'); }) \ No newline at end of file