mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
disable autocomplete for editor, closing #197
This commit is contained in:
parent
7ea3935571
commit
4195b903d7
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@
|
|||
autoScrollEditorIntoView: true
|
||||
})
|
||||
|
||||
// Disable autocomplete
|
||||
editor.setBehavioursEnabled(false)
|
||||
|
||||
editor.on('change', function(obj) {
|
||||
$('a#saveButton,a#saveAndExitButton').css('opacity', 1)
|
||||
unsavedChanges = true
|
||||
|
|
Loading…
Add table
Reference in a new issue