mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Null check for resizing diffs that may not have an ace editor
This commit is contained in:
parent
54ecab854d
commit
aaf87647c1
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ define [
|
|||
@aceEditor.scrollToLine(@firstHiddenChangeAfter.range.end.row, true, false)
|
||||
|
||||
resize: () ->
|
||||
@aceEditor.resize()
|
||||
@aceEditor?.resize()
|
||||
|
||||
return DiffView
|
||||
|
||||
|
|
Loading…
Reference in a new issue