move template out of #notifications and revert reset timer on manual trigger

This commit is contained in:
Mario Vavti
2018-01-25 17:27:48 +01:00
parent 019dcefeca
commit 4656856dfb
2 changed files with 7 additions and 9 deletions

View File

@@ -70,8 +70,6 @@ $(document).ready(function() {
if(! $('#nav-' + notifyType + '-sub').hasClass('show')) {
loadNotificationItems(notifyType);
if(timer) clearTimeout(timer);
timer = setTimeout(updateInit,updateInterval);
}
$(this).data('clicked', true);