mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 06:12:00 +00:00
Merge pull request #110 from sharelatex/bg-ace-exception-temporary-fix
temporarily avoid exception in ace event handler
This commit is contained in:
commit
f001c6745e
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ define [
|
||||||
|
|
||||||
@editor.on "changeSession", (e) =>
|
@editor.on "changeSession", (e) =>
|
||||||
@highlightedWordManager.reset()
|
@highlightedWordManager.reset()
|
||||||
if @inProgressRequest?
|
# if @inProgressRequest?
|
||||||
@inProgressRequest.abort()
|
# @inProgressRequest.abort()
|
||||||
|
|
||||||
if @$scope.spellCheckEnabled and @$scope.spellCheckLanguage and @$scope.spellCheckLanguage != ""
|
if @$scope.spellCheckEnabled and @$scope.spellCheckLanguage and @$scope.spellCheckLanguage != ""
|
||||||
@runSpellCheckSoon(200)
|
@runSpellCheckSoon(200)
|
||||||
|
|
Loading…
Reference in a new issue