diff --git a/builds/appchan-x.js b/builds/appchan-x.js index 8ea956a4b..b2f61e782 100644 --- a/builds/appchan-x.js +++ b/builds/appchan-x.js @@ -7114,9 +7114,8 @@ QR.notifications.push(new Notification('warning', el)); } if (d.hidden) { - alert(el.textContent); + return alert(el.textContent); } - return QR.notifications.push(new Notification('warning', el)); }, notifications: [], cleanNotifications: function() { diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 53865e159..8face19ac 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -7098,9 +7098,8 @@ QR.notifications.push(new Notification('warning', el)); } if (d.hidden) { - alert(el.textContent); + return alert(el.textContent); } - return QR.notifications.push(new Notification('warning', el)); }, notifications: [], cleanNotifications: function() { diff --git a/builds/crx/script.js b/builds/crx/script.js index 99a90c37d..ccaf60c0c 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -7101,9 +7101,8 @@ QR.notifications.push(new Notification('warning', el)); } if (d.hidden) { - alert(el.textContent); + return alert(el.textContent); } - return QR.notifications.push(new Notification('warning', el)); }, notifications: [], cleanNotifications: function() { diff --git a/src/Posting/QuickReply.coffee b/src/Posting/QuickReply.coffee index 011242f38..f55a7d324 100644 --- a/src/Posting/QuickReply.coffee +++ b/src/Posting/QuickReply.coffee @@ -141,7 +141,6 @@ QR = else QR.notifications.push new Notification 'warning', el alert el.textContent if d.hidden - QR.notifications.push new Notification 'warning', el notifications: []