mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
temporarily avoid exception in ace event handler
full fix will be to use the angular $http cancellation mechanism
This commit is contained in:
parent
2a7e68e37b
commit
125a5ec606
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ define [
|
|||
|
||||
@editor.on "changeSession", (e) =>
|
||||
@highlightedWordManager.reset()
|
||||
if @inProgressRequest?
|
||||
@inProgressRequest.abort()
|
||||
# if @inProgressRequest?
|
||||
# @inProgressRequest.abort()
|
||||
|
||||
if @$scope.spellCheckEnabled and @$scope.spellCheckLanguage and @$scope.spellCheckLanguage != ""
|
||||
@runSpellCheckSoon(200)
|
||||
|
|
Loading…
Reference in a new issue