diff --git a/assets/js/autocomplete.js b/assets/js/autocomplete.js index 58b8f23f..92e2e5f4 100644 --- a/assets/js/autocomplete.js +++ b/assets/js/autocomplete.js @@ -172,7 +172,7 @@ function listenAutocomplete() { function fetchLocalAutocomplete(event) { if (!localFetched && event.target.dataset && 'ac' in event.target.dataset) { localFetched = true; - fetch('/autocomplete/compiled', { credentials: 'omit', cache: 'force-cache' }) + fetch('/autocomplete/compiled?vsn=2', { credentials: 'omit', cache: 'force-cache' }) .then(handleError) .then(resp => resp.arrayBuffer()) .then(buf => localAc = new LocalAutocompleter(buf));