Less frequent update of progress bar
This commit is contained in:
parent
820346c98d
commit
9085a4b0cc
1 changed files with 1 additions and 1 deletions
|
@ -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: ->
|
||||
|
|
Loading…
Reference in a new issue