From b042266afdc405665fc05a06ddf834b162ab0cf9 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:24:43 -0500 Subject: [PATCH] Update search.js Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --- assets/js/search.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/assets/js/search.js b/assets/js/search.js index e67153af59..37de270ebd 100644 --- a/assets/js/search.js +++ b/assets/js/search.js @@ -55,18 +55,6 @@ if (!_showingResults && elResults.textContent) showResults(); }); -<<<<<<< HEAD - case 'Enter': - e.preventDefault(); - navToHighlightedResult(); - break; - - case 'Tab': - e.preventDefault(); - highlightNextResult(!e.shiftKey); - break; - -======= elResults.addEventListener('pointerenter', e => { cancelAnimationFrame(animationFrame); animationFrame = requestAnimationFrame(() => { @@ -94,7 +82,6 @@ else if (result.type) crumbs.unshift(result.type); return sanitizeText(crumbs.join(' › ')); ->>>>>>> ad8df5c9 (Redesigned header / footer integration copied from project site. (#5702)) } const doSearch = async () => {