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