1
0
Fork 0
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:
Luke Pulverenti 2014-05-30 00:16:11 -04:00
parent 06d87cc76f
commit 8dddfae300

View file

@ -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");