Skip to content

Commit

Permalink
Merge pull request #2036 from CityOfPhiladelphia/fix-search-field
Browse files Browse the repository at this point in the history
fix search field query on mobile
  • Loading branch information
m-atia committed Nov 10, 2023
2 parents 669e609 + 1218336 commit af66f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp/wp-content/themes/phila.gov-theme/js/dev/phila-gov.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit af66f08

Please sign in to comment.