diff --git a/resources/scripts/wm-typeahead.js b/resources/scripts/wm-typeahead.js index 91103436..bd2cbb20 100644 --- a/resources/scripts/wm-typeahead.js +++ b/resources/scripts/wm-typeahead.js @@ -305,7 +305,7 @@ window.WMTypeAhead = function ( appendTo, searchInput ) { api.get(searchQuery) .done((data) => { clearTypeAheadElements(); - callbackStack.queue[callbackIndex](data); + window.callbackStack.queue[callbackIndex](data); }); } // END loadQueryScript