use only minified textcomplete.js
parent
6fbd133141
commit
92a1d0cc9f
|
@ -8,7 +8,7 @@ $(function() {
|
|||
return textarea.value.split('\n').map(t => t.split(' ')[0]).slice(0, -1);
|
||||
}
|
||||
|
||||
lichess.loadScript('vendor/textcomplete.js').then(function() {
|
||||
lichess.loadScript('vendor/textcomplete.min.js').then(function() {
|
||||
|
||||
const textcomplete = new Textcomplete(new Textcomplete.editors.Textarea(textarea), {
|
||||
dropdown: {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -19,7 +19,7 @@ $(function() {
|
|||
return textarea.value.split('\n').slice(0, -1);
|
||||
}
|
||||
|
||||
lichess.loadScript('vendor/textcomplete.js').then(function() {
|
||||
lichess.loadScript('vendor/textcomplete.min.js').then(function() {
|
||||
|
||||
const textcomplete = new Textcomplete(new Textcomplete.editors.Textarea(textarea), {
|
||||
dropdown: {
|
||||
|
|
Loading…
Reference in New Issue