1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-04 08:45:53 +01:00

Automagically grab form charset in ;S.

This commit is contained in:
Kris Maglione
2011-01-09 15:36:10 -05:00
parent a2e6e655c7
commit 3485424f6e
7 changed files with 87 additions and 35 deletions

View File

@@ -232,9 +232,8 @@ var StatusLine = Module("statusline", {
else if (progress < 1) {
progress = Math.floor(progress * 20);
progressStr = "["
+ "====================".substr(0, progress)
+ ">"
+ " ".substr(0, 19 - progress)
+ "===================> "
.substr(20 - progress, 20)
+ "]";
}
this.widgets.progress.value = progressStr;