mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 00:25:46 +01:00
make sure all calls to command actions use sensible defaults
This commit is contained in:
@@ -482,10 +482,7 @@ liberator.Options = function () //{{{
|
||||
if (name == "all")
|
||||
all = true;
|
||||
|
||||
var scope = liberator.options.OPTION_SCOPE_BOTH;
|
||||
if (modifiers && modifiers.scope)
|
||||
scope = modifiers.scope;
|
||||
|
||||
var scope = modifiers.scope || liberator.options.OPTION_SCOPE_BOTH;
|
||||
var option = liberator.options.get(name, scope);
|
||||
|
||||
if (!option && !all)
|
||||
|
||||
Reference in New Issue
Block a user