Fixed bug
parent
eb1e7c15d2
commit
4246857bf7
|
@ -306,7 +306,8 @@
|
||||||
self.upgraded[id] = result;
|
self.upgraded[id] = result;
|
||||||
|
|
||||||
// Update progress message
|
// Update progress message
|
||||||
self.throbber.setProgress(Math.round((info.total - self.left + self.current) / (info.total / 100)) + ' %');
|
var percentComplete = Math.round((info.total - self.left + self.current) / (info.total / 100));
|
||||||
|
self.throbber.setProgress(percentComplete + ' %');
|
||||||
|
|
||||||
self.trigger('upgraded', {
|
self.trigger('upgraded', {
|
||||||
id: id,
|
id: id,
|
||||||
|
|
Loading…
Reference in New Issue