diff --git a/src/js/25-trending-topics-fallback.js b/src/js/25-trending-topics-fallback.js index b5ec08666..65c78a87c 100644 --- a/src/js/25-trending-topics-fallback.js +++ b/src/js/25-trending-topics-fallback.js @@ -34,5 +34,5 @@ console.error(error) } } - }, 3000) + }, 5000) })() diff --git a/src/js/vendor/coveo.bundle.js b/src/js/vendor/coveo.bundle.js index 63b3a0c07..f21d28ecb 100644 --- a/src/js/vendor/coveo.bundle.js +++ b/src/js/vendor/coveo.bundle.js @@ -182,8 +182,6 @@ use ${osMap[this.clientOS].secondaryKeyLabelLong} + ${shortcutKeyMap.keyLabel}` this.searchboxTextarea.placeholder = 'Search Docs' // .getAttribute('aria-label') is used here instead of .ariaLabel // because for some reason, it returned an error in firefox - console.log(this.searchboxTextarea) - console.log(this.searchboxTextarea.getAttribute('aria-label')) this.searchboxTextarea.ariaLabel = this.searchboxTextarea .getAttribute('aria-label') .replace('Search field', 'Search Doc field') diff --git a/src/partials/head/head-scripts/coveo-search-scripts.hbs b/src/partials/head/head-scripts/coveo-search-scripts.hbs index bd4f5e2ea..b7ced1c14 100644 --- a/src/partials/head/head-scripts/coveo-search-scripts.hbs +++ b/src/partials/head/head-scripts/coveo-search-scripts.hbs @@ -30,11 +30,9 @@ await customElements.whenDefined('atomic-recs-interface'); const recommendInterface = document.querySelector('#recs'); if (recommendInterface) { - const organizationEndpoints = await recommendInterface.getOrganizationEndpoints(organizationId); await recommendInterface.initialize({ accessToken, organizationId, - organizationEndpoints, }); recommendInterface.getRecommendations(); } @@ -43,4 +41,4 @@ const crToken = "{{#if (eq (site-profile) 'jp')}}{{env.COVEO_CR_API_KEY_JP}}{{else}}{{env.COVEO_CR_API_KEY}}{{/if}}" initContentRecommendations("{{ env.COVEO_ORG_ID }}", crToken); })(); - \ No newline at end of file +