mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
A lot small fixes
This commit is contained in:
parent
4457cdbc23
commit
09334159c2
38 changed files with 1496 additions and 239 deletions
6
vendors/simple-pace/simple-pace.js
vendored
6
vendors/simple-pace/simple-pace.js
vendored
|
|
@ -32,7 +32,7 @@
|
|||
}
|
||||
}, 500);
|
||||
};
|
||||
|
||||
|
||||
Bar.prototype.stopAddInterval = function () {
|
||||
window.clearInterval(this.addInterval);
|
||||
this.addInterval = 0;
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
|
||||
return this.render();
|
||||
};
|
||||
|
||||
|
||||
Bar.prototype.add = function (iProg) {
|
||||
this.progress += window.parseInt(iProg, 10);
|
||||
this.progress = 100 < this.progress ? 100 : this.progress;
|
||||
|
|
@ -86,7 +86,7 @@
|
|||
|
||||
return this.render();
|
||||
};
|
||||
|
||||
|
||||
Bar.prototype.setSpeed = function (iSpeed, iStopProgress) {
|
||||
this.addSpeed = iSpeed;
|
||||
this.stopProgress = iStopProgress || 100;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue