Fix lag after settings changes.

This commit is contained in:
ccd0 2017-09-28 16:55:06 -07:00
parent 8662bcf0d5
commit b3279de9a3

View File

@ -641,6 +641,7 @@ else
cb items cb items
$.set = $.oneItemSugar (items, cb) -> $.set = $.oneItemSugar (items, cb) ->
$.queueTask ->
for key, value of items for key, value of items
$.setValue(g.NAMESPACE + key, JSON.stringify value) $.setValue(g.NAMESPACE + key, JSON.stringify value)
cb?() cb?()