Autoscrolling to locator even when option under settings is not checked.
-
I do not want the page to scroll to the bottom where the store locator is. The option under ‘User Experience’ in settings is not checked.
Through some diagnostics I have found that the problem lies in the error checking. The error checking is firing immediately upon page load causing the cursor to focus on the input and scroll.if (!$(“#wpsl-search-input”).val()) {$(“#wpsl-search-input”).addClass(“wpsl-error”).focus();
}As a temporary fix I have gone in and removed the .focus() within the plugin code but would prefer a permanent solution.
Thank you.The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Autoscrolling to locator even when option under settings is not checked.’ is closed to new replies.