mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-07 10:23:33 +02:00
Add Option.has(). Improve JS completion.
This commit is contained in:
@@ -253,7 +253,7 @@ liberator.AutoCommands = function () //{{{
|
||||
{
|
||||
let events = liberator.options["eventignore"].split(",");
|
||||
|
||||
if (events.some(function (e) e == "all" || e == event))
|
||||
if (liberator.options.get("eventignore").has("all", event))
|
||||
return;
|
||||
|
||||
let autoCmds = store.filter(function (autoCmd) autoCmd.event == event);
|
||||
|
||||
Reference in New Issue
Block a user