mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-21 06:04:35 -04:00
Fix TRUE
number of notifications
`update_ticker_count` used to use STORAGE_KEY_STREAM to get the number of notifications which is a boolean value, now it uses STORAGE_KEY_NOTIF_COUNT which is an integer
This commit is contained in:
parent
df8839d1f0
commit
a84bb1d22e
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue