diff --git a/Frontend/js/yourteam/plugins/yt-notice/yt-notice.js b/Frontend/js/yourteam/plugins/yt-notice/yt-notice.js index 216c6b9..8114493 100644 --- a/Frontend/js/yourteam/plugins/yt-notice/yt-notice.js +++ b/Frontend/js/yourteam/plugins/yt-notice/yt-notice.js @@ -190,7 +190,7 @@ class YTNoticeBlock { checkCanShow = function (notice = null) { let lastNoticeOffset = $(this.noticeContainer).find(".toast").last().offset(); if ($(this.noticeContainer).find(".toast").last().length == 0) { - return true; + return notice.canShow; } if ($(notice.obj.container).is(":visible")) {