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:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user