Skip to content

Commit

Permalink
Update package.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Feb 26, 2024
1 parent 6defa79 commit 656926d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions themes/bootstrap3/js/vendor/autocomplete.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* https://github.com/vufind-org/autocomplete.js (v2.1.8) (2024-01-29) */
/* https://github.com/vufind-org/autocomplete.js (v2.1.9) (2024-02-26) */
function Autocomplete(_settings) {
const _DEFAULTS = {
delay: 250,
Expand Down Expand Up @@ -175,6 +175,7 @@ function Autocomplete(_settings) {
_hide();
return;
}

let loadingEl = _renderItem({ _header: settings.loadingString }, input);
list.innerHTML = loadingEl.outerHTML;

Expand All @@ -189,7 +190,7 @@ function Autocomplete(_settings) {
// cause problems.
return;
}
if (items === false || items.length === 0) {
if (!items || items.length === 0) {
_hide();
return;
}
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"updateDeps": "npm update && node tools/copyDependencies.mjs"
},
"dependencies": {
"autocomplete.js": "vufind-org/autocomplete.js#v2.1.7",
"autocomplete.js": "vufind-org/autocomplete.js#v2.1.9",
"chart.js": "^4.4.0",
"simple-keyboard": "^3.6.0",
"simple-keyboard-layouts": "^3.0.0",
Expand Down

0 comments on commit 656926d

Please sign in to comment.