From 38cbbb96fe672e49ca7d9eca8b1be9b1b148d1ed Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 9 Aug 2015 15:16:01 -0700 Subject: [PATCH] Fix 'Show Updated Notifications' setting. --- src/General/Main.coffee | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/General/Main.coffee b/src/General/Main.coffee index a4b205b0a..a8a9b7891 100755 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -95,9 +95,10 @@ Main = $.extend items, items2 $.set items2, -> - el = $.el 'span', - <%= html(meta.name + ' has been updated to version ${g.VERSION}.') %> - new Notice 'info', el, 15 + if items['Show Updated Notifications'] ? true + el = $.el 'span', + <%= html(meta.name + ' has been updated to version ${g.VERSION}.') %> + new Notice 'info', el, 15 initFeatures: -> if location.hostname in ['boards.4chan.org', 'sys.4chan.org', 'www.4chan.org']