Skip to content

Commit d81832d

Browse files
committed
Removes rotation once AJAX request is complete
1 parent 9c7d053 commit d81832d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/dashboard.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ dashboard.getPing = function () {
336336
}).fadeIn();
337337
},
338338
complete: function() {
339-
refreshIcon.removeClass('loading');
339+
refreshIcon.removeClass('icon-spin');
340340
}
341341
});
342342
}
@@ -367,7 +367,7 @@ dashboard.getIspeed = function () {
367367
rateDownstream.text(result['downstream']);
368368
},
369369
complete: function() {
370-
refreshIcon.removeClass('loading');
370+
refreshIcon.removeClass('icon-spin');
371371
}
372372
});
373373

@@ -427,7 +427,7 @@ dashboard.getBandwidth = function () {
427427
$('#bw-rx').text(data.rx);
428428
},
429429
complete: function() {
430-
refreshIcon.removeClass('loading');
430+
refreshIcon.removeClass('icon-spin');
431431
}
432432
});
433433

0 commit comments

Comments
 (0)