mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 21:25:45 +01:00
match n of m
This commit is contained in:
@@ -303,7 +303,7 @@ var StatusLine = Module("statusline", {
|
|||||||
set: function progress(progress) {
|
set: function progress(progress) {
|
||||||
this._progress = progress || "";
|
this._progress = progress || "";
|
||||||
|
|
||||||
if (typeof progress == "string")
|
if (isinstance(progress, ["String", _]))
|
||||||
this.widgets.progress.value = this._progress;
|
this.widgets.progress.value = this._progress;
|
||||||
else if (typeof progress == "number") {
|
else if (typeof progress == "number") {
|
||||||
let progressStr = "";
|
let progressStr = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user