mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 11:37:40 +00:00
Fix progressbar
This commit is contained in:
parent
0ce9aaa02b
commit
2cdb59bfbc
@ -125,7 +125,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
rest("GET", "/get_running_installation", null, function(installation_info) {
|
rest("GET", "/get_running_installation", null, function(installation_info) {
|
||||||
if (running_installation) {
|
if (running_installation) {
|
||||||
if ($('#install-progress').progress("get percent") >= 95) {
|
if ($('#install-progress').progress("get percent") >= 95) {
|
||||||
$('#install-progress').progress("set percent", 20);
|
$('#install-progress').progress("decrement", 20);
|
||||||
}
|
}
|
||||||
$('#install-progress').progress('increment');
|
$('#install-progress').progress('increment');
|
||||||
if (installation_info != running_installation) {
|
if (installation_info != running_installation) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user