Fix nasty bug in commit 1fbe76e3cd3563eb21127b5f02d980f329e6269e that would periodically wipe user data.
This commit is contained in:
parent
e0ae7daaac
commit
c858eb585d
@ -149,7 +149,7 @@ class DataBoard
|
||||
threads[ID] = board[ID] if ID of board
|
||||
@data[siteID].boards[boardID] = threads
|
||||
@deleteIfEmpty {siteID, boardID}
|
||||
$.set @key, @allData
|
||||
$.set @key, @data
|
||||
|
||||
onSync: (data) =>
|
||||
return unless (data.version or 0) > (@data.version or 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user