diff --git a/4chan_x.user.js b/4chan_x.user.js index a0975a19a..539b321a0 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -972,7 +972,7 @@ } break; case conf.unreadCountTo0: - unread.replies.length = 0; + unread.replies = []; unread.updateTitle(); Favicon.update(); break; diff --git a/script.coffee b/script.coffee index ab4dfa06b..0999439f6 100644 --- a/script.coffee +++ b/script.coffee @@ -709,7 +709,7 @@ keybinds = else $('.postarea form').submit() when conf.unreadCountTo0 - unread.replies.length = 0 + unread.replies = [] unread.updateTitle() Favicon.update() else