mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge branch 'pr-empty-autocomplete'
This commit is contained in:
commit
1a8c86ab6b
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ define [
|
||||||
editor.completer.showPopup(editor)
|
editor.completer.showPopup(editor)
|
||||||
editor.completer.cancelContextMenu()
|
editor.completer.cancelContextMenu()
|
||||||
$(editor.completer.popup?.container).css({'font-size': @$scope.fontSize + 'px'})
|
$(editor.completer.popup?.container).css({'font-size': @$scope.fontSize + 'px'})
|
||||||
|
if editor.completer?.completions?.filtered?.length == 0
|
||||||
|
editor.completer.detach()
|
||||||
bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space"
|
bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue