Remove that old tmp fix.
This commit is contained in:
parent
22ea103321
commit
a77f572c28
@ -19,12 +19,7 @@ ThreadHiding =
|
|||||||
hiddenThreads = ThreadHiding.db.get
|
hiddenThreads = ThreadHiding.db.get
|
||||||
boardID: g.BOARD.ID
|
boardID: g.BOARD.ID
|
||||||
defaultValue: {}
|
defaultValue: {}
|
||||||
# XXX tmp fix
|
hiddenThreadsOnCatalog = JSON.parse(localStorage.getItem "4chan-hide-t-#{g.BOARD}") or {}
|
||||||
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()
|
|
||||||
|
|
||||||
# Add threads that were hidden in the catalog.
|
# Add threads that were hidden in the catalog.
|
||||||
for threadID of hiddenThreadsOnCatalog
|
for threadID of hiddenThreadsOnCatalog
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user