Less frequent update of progress bar

This commit is contained in:
shortcutme 2020-01-04 16:53:11 +01:00
parent 820346c98d
commit 9085a4b0cc
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -6,7 +6,7 @@ class Loading
setProgress: (percent) ->
if @timer_hide
clearInterval @timer_hide
RateLimit 200, ->
RateLimit 500, ->
$(".progressbar").css("transform": "scaleX(#{parseInt(percent*100)/100})").css("opacity", "1").css("display", "block")
hideProgress: ->