mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 18:22:01 +00:00
added comment about double resize event
This commit is contained in:
parent
3d1fe22f00
commit
866de306d6
1 changed files with 2 additions and 0 deletions
|
@ -320,6 +320,8 @@ define [
|
|||
updateLayout()
|
||||
|
||||
scope.$on 'layout:pdf:resize', () ->
|
||||
# FIXME we get this event twice
|
||||
# also we need to start a new layout when we get it
|
||||
console.log 'GOT LAYOUT-PDF-RESIZE EVENT'
|
||||
updateLayout()
|
||||
|
||||
|
|
Loading…
Reference in a new issue