Skip to content

Invidious is an alternative front-end to YouTube

Fix `TRUE` number of notifications

fieryhenrya84bb1d22ed4
diff --git a/assets/js/notifications.js b/assets/js/notifications.js
index 55b7a15c..b8d73a82 100644
--- a/assets/js/notifications.js
+++ b/assets/js/notifications.js
@@ -77,7 +77,7 @@ function create_notification_stream(subscriptions) {
function update_ticker_count() {
var notification_ticker = document.getElementById('notification_ticker');
- const notification_count = helpers.storage.get(STORAGE_KEY_STREAM);
+ const notification_count = helpers.storage.get(STORAGE_KEY_NOTIF_COUNT);
if (notification_count > 0) {
notification_ticker.innerHTML =
'<span id="notification_count">' + notification_count + '</span> <i class="icon ion-ios-notifications"></i>';