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

match n of m

This commit is contained in:
Kris Maglione
2011-06-14 10:47:14 -04:00
parent 6b8448f263
commit 1352e8e65e

View File

@@ -303,7 +303,7 @@ var StatusLine = Module("statusline", {
set: function progress(progress) {
this._progress = progress || "";
if (typeof progress == "string")
if (isinstance(progress, ["String", _]))
this.widgets.progress.value = this._progress;
else if (typeof progress == "number") {
let progressStr = "";