1
0
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:
Jan Schneider 2018-01-24 00:11:18 +01:00
parent 0ce9aaa02b
commit 2cdb59bfbc

View File

@ -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) {
if (running_installation) {
if ($('#install-progress').progress("get percent") >= 95) {
$('#install-progress').progress("set percent", 20);
$('#install-progress').progress("decrement", 20);
}
$('#install-progress').progress('increment');
if (installation_info != running_installation) {