mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-21 10:49:02 -05:00
Merge 3335bc8c388677517e5c4b86eb917fd3fdace2f8 into 1ae0f45b0e5dca696986925a06ef4f4b4f43894b
This commit is contained in:
commit
ad83158b70
@ -77,7 +77,7 @@ function create_notification_stream(subscriptions) {
|
|||||||
function update_ticker_count() {
|
function update_ticker_count() {
|
||||||
var notification_ticker = document.getElementById('notification_ticker');
|
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) || 0;
|
||||||
if (notification_count > 0) {
|
if (notification_count > 0) {
|
||||||
notification_ticker.innerHTML =
|
notification_ticker.innerHTML =
|
||||||
'<span id="notification_count">' + notification_count + '</span> <i class="icon ion-ios-notifications"></i>';
|
'<span id="notification_count">' + notification_count + '</span> <i class="icon ion-ios-notifications"></i>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user