mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-02 20:54:10 +01:00
Cause some crashes, no doubt.
--HG-- extra : rebase_source : db7b09141e561645cd40b970c2a5e4921c2f39c0
This commit is contained in:
@@ -222,7 +222,10 @@ var Contexts = Module("contexts", {
|
||||
util.trapErrors("onUnload", self);
|
||||
}
|
||||
else {
|
||||
self = args && !isArray(args) ? args : newContext.apply(null, args || [userContext]);
|
||||
let params = Array.slice(args || [userContext]);
|
||||
params[2] = params[2] || File(file).URI.spec;
|
||||
|
||||
self = args && !isArray(args) ? args : newContext.apply(null, params);
|
||||
update(self, {
|
||||
NAME: Const(id),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user