mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
replace $timeout by setTimeout in pdf viewer update
This commit is contained in:
@@ -283,7 +283,7 @@ define [
|
||||
ctrl.setScale(scale, h, w).then () ->
|
||||
spinner.remove(element)
|
||||
ctrl.redraw(origposition)
|
||||
$timeout renderVisiblePages, 0
|
||||
setTimeout renderVisiblePages, 0
|
||||
|
||||
checkElementReady = () ->
|
||||
# if element is zero-sized keep checking until it is ready
|
||||
|
||||
Reference in New Issue
Block a user