1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:37:59 +01:00

Add 'chrome:*':laissez-faire to 'strictfocus'.

This commit is contained in:
Kris Maglione
2011-06-22 11:56:21 -04:00
parent fe3decf83a
commit 4eef1b0709
2 changed files with 2 additions and 2 deletions

View File

@@ -1688,7 +1688,7 @@ var Events = Module("events", {
options.add(["strictfocus", "sf"],
"Prevent scripts from focusing input elements without user intervention",
"sitemap", "*:moderate",
"sitemap", "'chrome:*':laissez-faire,*:moderate",
{
values: {
despotic: "Only allow focus changes when explicitly requested by the user",

View File

@@ -437,7 +437,7 @@ var Option = Class("Option", {
bang: bang,
filter: filter,
result: result !== undefined ? result : !bang,
toString: function toString() this.bang + Option.quote(this.filter) +
toString: function toString() this.bang + Option.quote(this.filter, /:/) +
(typeof this.result === "boolean" ? "" : ":" + quote(this.result)),
});
},