1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed important announcements not alerting

This commit is contained in:
Jon Ziebell 2022-10-24 21:25:33 -04:00
parent 5be7b7315c
commit ab792ff696

View File

@ -304,7 +304,7 @@ beestat.layer.load.prototype.decorate_ = function(parent) {
beestat.setting('first_run', false);
(new beestat.component.modal.newsletter()).render();
} else if (
beestat.cache.announcement.length > 0 &&
$.keys(beestat.cache.announcement).length > 0 &&
(
last_read_announcement_id === undefined ||
(