projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
misc
/
autocomplete.es6.js
diff --git
a/web/core/misc/autocomplete.es6.js
b/web/core/misc/autocomplete.es6.js
index eeac77e5f77de91b87bb4f5c8c00a579966df6bb..9beaf02af3c1825187ab90d35c4e750c1adfb74a 100644
(file)
--- a/
web/core/misc/autocomplete.es6.js
+++ b/
web/core/misc/autocomplete.es6.js
@@
-136,7
+136,7
@@
}
// Get the desired term and construct the autocomplete URL for it.
}
// Get the desired term and construct the autocomplete URL for it.
-
var
term = autocomplete.extractLastTerm(request.term);
+
const
term = autocomplete.extractLastTerm(request.term);
// Check if the term is already cached.
if (autocomplete.cache[elementId].hasOwnProperty(term)) {
// Check if the term is already cached.
if (autocomplete.cache[elementId].hasOwnProperty(term)) {