mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Append spell check menu to body so it isn't hidden by PDF view resizer
This commit is contained in:
parent
184189fa3f
commit
2a69e185ce
2 changed files with 3 additions and 2 deletions
|
@ -216,8 +216,7 @@ define [
|
|||
</div>
|
||||
<div class="ace-editor-body"></div>
|
||||
<div
|
||||
id="spellCheckMenu"
|
||||
class="dropdown context-menu"
|
||||
class="dropdown context-menu spell-check-menu"
|
||||
ng-show="spellingMenu.open"
|
||||
ng-style="{top: spellingMenu.top, left: spellingMenu.left}"
|
||||
ng-class="{open: spellingMenu.open}"
|
||||
|
|
|
@ -6,6 +6,8 @@ define [
|
|||
|
||||
class SpellCheckManager
|
||||
constructor: (@$scope, @editor, @element) ->
|
||||
$(document.body).append @element.find(".spell-check-menu")
|
||||
|
||||
@updatedLines = []
|
||||
@highlightedWordManager = new HighlightedWordManager(@editor)
|
||||
|
||||
|
|
Loading…
Reference in a new issue