mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 03:53:05 -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)
|
@aceEditor.scrollToLine(@firstHiddenChangeAfter.range.end.row, true, false)
|
||||||
|
|
||||||
resize: () ->
|
resize: () ->
|
||||||
@aceEditor.resize()
|
@aceEditor?.resize()
|
||||||
|
|
||||||
return DiffView
|
return DiffView
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue