1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 20:44:11 +01:00

Fix styles.jsm typo.

--HG--
extra : rebase_source : 4c9c7f9580a4562fb840aca58aa8096b25e2abc8
This commit is contained in:
Kris Maglione
2011-07-07 12:59:38 -04:00
parent 0add26f61a
commit 5d760ff222

View File

@@ -74,7 +74,7 @@ update(Sheet.prototype, {
return preamble + css; return preamble + css;
let selectors = filter.map(function (part) let selectors = filter.map(function (part)
!/^(?:[a-z-]+:|[a-z-.]+$)/.test(filter) ? "regexp(" + part.quote() + ")" : !/^(?:[a-z-]+:|[a-z-.]+$)/.test(part) ? "regexp(" + part.quote() + ")" :
(/[*]$/.test(part) ? "url-prefix" : (/[*]$/.test(part) ? "url-prefix" :
/[\/:]/.test(part) ? "url" /[\/:]/.test(part) ? "url"
: "domain") : "domain")