1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 01:12:27 +01:00

Move 'system' arg of Styles methods to arg 0, and add completion functions

This commit is contained in:
Kris Maglione
2008-12-19 17:11:05 -05:00
parent f5b2173979
commit 480151cc4d
7 changed files with 74 additions and 39 deletions

View File

@@ -271,7 +271,7 @@ function Hints() //{{{
css.push(highlight.selector(group) + "[number='" + elem.getAttribute("number") + "'] { " + elem.style.cssText + " }");
}
}
styles.addSheet("hint-positions", "*", css.join("\n"), true, true);
styles.addSheet(true, "hint-positions", "*", css.join("\n"));
}
return true;
@@ -296,7 +296,7 @@ function Hints() //{{{
if (timeout && firstElem)
setTimeout(function () { firstElem.removeAttributeNS(NS.uri, "highlight"); }, timeout);
}
styles.removeSheet("hint-positions", null, null, null, true);
styles.removeSheet(true, "hint-positions");
reset();
}