mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix login issue
This commit is contained in:
parent
06d87cc76f
commit
8dddfae300
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
|||
(function ($, document, Notifications) {
|
||||
|
||||
$(document).on("pagebeforeshow", ".page", function () {
|
||||
$(document).on("pageinit", ".page", function () {
|
||||
|
||||
// If there is no user logged in there can be no notifications
|
||||
if (!Dashboard.getCurrentUserId()) return;
|
||||
|
||||
var elem = $(".notificationsList");
|
||||
var btn = $(".btnMarkReadContainer");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue