mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 17:22:36 +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()
|
updateLayout()
|
||||||
|
|
||||||
scope.$on 'layout:pdf:resize', () ->
|
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'
|
console.log 'GOT LAYOUT-PDF-RESIZE EVENT'
|
||||||
updateLayout()
|
updateLayout()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue