Fix lag after settings changes.
This commit is contained in:
parent
8662bcf0d5
commit
b3279de9a3
@ -641,9 +641,10 @@ else
|
|||||||
cb items
|
cb items
|
||||||
|
|
||||||
$.set = $.oneItemSugar (items, cb) ->
|
$.set = $.oneItemSugar (items, cb) ->
|
||||||
for key, value of items
|
$.queueTask ->
|
||||||
$.setValue(g.NAMESPACE + key, JSON.stringify value)
|
for key, value of items
|
||||||
cb?()
|
$.setValue(g.NAMESPACE + key, JSON.stringify value)
|
||||||
|
cb?()
|
||||||
|
|
||||||
$.clear = (cb) ->
|
$.clear = (cb) ->
|
||||||
# XXX https://github.com/greasemonkey/greasemonkey/issues/2033
|
# XXX https://github.com/greasemonkey/greasemonkey/issues/2033
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user