fix login issue
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
(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");
|
||||
var startIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user