Fix regression in syncing with native catalog.

This commit is contained in:
ccd0 2019-08-03 09:18:05 -07:00
parent 3d079f7e7e
commit f430164b8c

View File

@ -196,6 +196,8 @@ Settings =
@textContent = 'Hidden: 0'
$.get 'hiddenThreads', $.dict(), ({hiddenThreads}) ->
if $.hasStorage and g.SITE.software is 'yotsuba'
for boardID of hiddenThreads['4chan.org']?.boards
localStorage.removeItem "4chan-hide-t-#{boardID}"
for boardID of hiddenThreads.boards
localStorage.removeItem "4chan-hide-t-#{boardID}"
($.delete ['hiddenThreads', 'hiddenPosts'])