diff --git a/js/auto-reload.js b/js/auto-reload.js index 0d64a77b..5cdf12ae 100644 --- a/js/auto-reload.js +++ b/js/auto-reload.js @@ -240,10 +240,10 @@ $(document).ready(function(){ if (!new_posts) { first_new_post = this; makeIcon('reply'); - if (notify === "all" || (notify === "mention" && $(this).find('.own_post').length)) { + } + if (notify === "all" || (notify === "mention" && $(this).find('.own_post').length)) { var body = $(this).children('.body').html().replace(//gi, "\n"); var n = new Notification("New reply to "+$('title').text(), {body: $('
').html(body).text()}); - } } if ($("div.post").length > 1){ $(this).insertAfter($('div.post:not(.post-hover):last').next()).after('
');