diff --git a/app/views/layouts/_top_bar.html.erb b/app/views/layouts/_top_bar.html.erb index 6a0ebb798..e25dc103e 100644 --- a/app/views/layouts/_top_bar.html.erb +++ b/app/views/layouts/_top_bar.html.erb @@ -50,8 +50,9 @@ } // Load notifications count as quickly as it's available. + // Not if we're on the notifications page itself if ( - document.getElementById('notifications-container') == null + window.location.pathname !== '/notifications' ) { var xmlhttp; if (window.XMLHttpRequest) {