Null check for resizing diffs that may not have an ace editor

This commit is contained in:
James Allen 2014-06-11 11:58:19 +01:00
parent 54ecab854d
commit aaf87647c1

View file

@ -279,7 +279,7 @@ define [
@aceEditor.scrollToLine(@firstHiddenChangeAfter.range.end.row, true, false)
resize: () ->
@aceEditor.resize()
@aceEditor?.resize()
return DiffView