cleanup
This commit is contained in:
parent
c72189069e
commit
462be8859e
2 changed files with 19 additions and 21 deletions
|
|
@ -11,8 +11,8 @@ function update() {
|
|||
var xhr = new XMLHttpRequest();
|
||||
xhr.onload = function() {
|
||||
var response = JSON.parse(this.responseText);
|
||||
if (response.installing) {
|
||||
var status = response.installing;
|
||||
if (response.step) {
|
||||
var status = response.step;
|
||||
if (response.progress) {
|
||||
status = parseInt(response.progress * 100) + '% ' + status;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue