From 12183369cb59fb942d6858abd37e0b5ea9b1f9c6 Mon Sep 17 00:00:00 2001 From: Moh Atia Date: Fri, 10 Nov 2023 09:24:08 -0500 Subject: [PATCH] fix search field query on mobile --- wp/wp-content/themes/phila.gov-theme/js/dev/phila-gov.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp/wp-content/themes/phila.gov-theme/js/dev/phila-gov.js b/wp/wp-content/themes/phila.gov-theme/js/dev/phila-gov.js index be51372b8..6ec68e496 100644 --- a/wp/wp-content/themes/phila.gov-theme/js/dev/phila-gov.js +++ b/wp/wp-content/themes/phila.gov-theme/js/dev/phila-gov.js @@ -155,7 +155,7 @@ module.exports = $(function () { /* prevent search dropdown from becoming dissconnected from header when keyboard is closed on iOS devices */ - $('.search-field').focusout(function() { + $('#search-field').focusout(function() { if ( Foundation.MediaQuery.current === 'small' ) { window.scrollTo(0, 0); }