Fix setting clearing in GM4. #1531
This commit is contained in:
parent
8bc6fe1ed3
commit
d71ce7b16a
@ -545,7 +545,7 @@ if GM?.deleteValue? and window.BroadcastChannel and not GM_addValueChangeListene
|
||||
cb?()
|
||||
|
||||
$.clear = (cb) ->
|
||||
GM.listValues.then (keys) ->
|
||||
GM.listValues().then (keys) ->
|
||||
$.delete keys.map((key) -> key.replace g.NAMESPACE, ''), cb
|
||||
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user