1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 06:14:11 +01:00

Disable tab numbering in Gecko 1.9 for the moment. Deal with stale RangeFinds slipping through in corner case.

This commit is contained in:
Kris Maglione
2010-12-20 01:30:25 -05:00
parent c9520c0a59
commit b6c8d763fa
4 changed files with 12 additions and 3 deletions

View File

@@ -1284,7 +1284,9 @@ const Dactyl = Module("dactyl", {
styles.addSheet(true, "taboptions", "chrome://*",
classes.length ? classes.join(",") + "{ display: none; }" : "");
}
},
validator: function (opts) dactyl.has("Gecko2") ||
Option.validIf(!/[nN]/.test(opts), "Tab numbering not available in this " + config.host + " version")
}
].filter(function (group) !group.feature || dactyl.has(group.feature));