mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +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
|
autoScrollEditorIntoView: true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Disable autocomplete
|
||||||
|
editor.setBehavioursEnabled(false)
|
||||||
|
|
||||||
editor.on('change', function(obj) {
|
editor.on('change', function(obj) {
|
||||||
$('a#saveButton,a#saveAndExitButton').css('opacity', 1)
|
$('a#saveButton,a#saveAndExitButton').css('opacity', 1)
|
||||||
unsavedChanges = true
|
unsavedChanges = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue