You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
').appendTo('body'); var $ul = $(''); results.forEach(function(result) { if (result.type === 'kb') { $ul.append('
  • ' + '' + result["title"] + '' +"
  • "); } if (result.type === 'forum') { $ul.append('
  • ' + '' + result["title"] + '' +"
  • "); } if (result.type === 'assist_ai_result') { $ul.append('
  • ' + '' + result["title"] + '' +'' + result["source"] + '
  • '); } }); $ul.appendTo($('.hf-sc-search-container')); $ul.find('li:first').attr('aria-current', true); } } }) }, 600); } else { $('.hf-sc-search-suggestions').remove(); $('.hf-sc-search-container').removeClass('hf-mod-open'); $('.hf-mobile-overlay').remove(); } } if(search_suggestions_container.length && currentlyHighlightedOption.length) { var search_suggestions_container_top = search_suggestions_container.offset().top; var search_suggestions_container_bottom = search_suggestions_container_top + search_suggestions_container.height(); var elemTop = currentlyHighlightedOption.offset().top; var elemBottom = elemTop + currentlyHighlightedOption.height(); if (elemBottom >= search_suggestions_container_bottom) { search_suggestions_container.scrollTop(0); search_suggestions_container.scrollTop(currentlyHighlightedOption.offset().top - search_suggestions_container.height()); } } } }); $(document).click( function(){ $('.hf-sc-search-suggestions').remove(); $('.hf-sc-search-container').removeClass('hf-mod-open'); $('.hf-mobile-overlay').remove(); $('#hf-user-profile-dropdown').attr('data-open', 'false'); $('#hf-user-profile-overlay').hide(); }); }); window.addEventListener("pagehide", function(event) { $('.hf-sc-search-loader').hide(); } );
    How can we help you?
    scroll to top icon