From a77f572c280a16d5b690607838247ccfa2ee8a76 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Tue, 30 Apr 2013 19:04:37 +0200 Subject: [PATCH] Remove that old tmp fix. --- src/Filtering/ThreadHiding.coffee | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Filtering/ThreadHiding.coffee b/src/Filtering/ThreadHiding.coffee index fee4d4b80..223263550 100644 --- a/src/Filtering/ThreadHiding.coffee +++ b/src/Filtering/ThreadHiding.coffee @@ -19,12 +19,7 @@ ThreadHiding = hiddenThreads = ThreadHiding.db.get boardID: g.BOARD.ID defaultValue: {} - # XXX tmp fix - try - hiddenThreadsOnCatalog = JSON.parse(localStorage.getItem "4chan-hide-t-#{g.BOARD}") or {} - catch e - localStorage.setItem "4chan-hide-t-#{g.BOARD}", JSON.stringify {} - return ThreadHiding.syncCatalog() + hiddenThreadsOnCatalog = JSON.parse(localStorage.getItem "4chan-hide-t-#{g.BOARD}") or {} # Add threads that were hidden in the catalog. for threadID of hiddenThreadsOnCatalog