FIX: temporarily disable event listener for dismissing the first notification

FIX: temporarily disable event listener for dismissing the first notification

diff --git a/app/assets/javascripts/discourse/app/components/site-header.js b/app/assets/javascripts/discourse/app/components/site-header.js
index ec7084b..a31c16f 100644
--- a/app/assets/javascripts/discourse/app/components/site-header.js
+++ b/app/assets/javascripts/discourse/app/components/site-header.js
@@ -225,9 +225,10 @@ const SiteHeaderComponent = MountWidget.extend(Docking, PanEvents, {
           );
         }
       };
-      document.addEventListener("click", this._dismissFirstNotification, {
-        once: true
-      });
+      // TODO: re-enable event listener
+      //      document.addEventListener("click", this._dismissFirstNotification, {
+      //        once: true
+      //      });
     }
   },
 

GitHub sha: 8e4fea89

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/logins-redirects-to-missing-notifications-page/149718/14