mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Null check for resizing diffs that may not have an ace editor
This commit is contained in:
@@ -279,7 +279,7 @@ define [
|
||||
@aceEditor.scrollToLine(@firstHiddenChangeAfter.range.end.row, true, false)
|
||||
|
||||
resize: () ->
|
||||
@aceEditor.resize()
|
||||
@aceEditor?.resize()
|
||||
|
||||
return DiffView
|
||||
|
||||
|
||||
Reference in New Issue
Block a user