How to Enable Live Search In Loma

In default state, you need to input at least two chars and press enter to get result.

In the past, we used live search ( input two chart and you got the result(s) without need to press enter )

But, we deleted due due some performance issue, but if you want use it, you need edit a code in simple way

FILE TO BE EDITED :

wp-content\themes\loma\includes\js\plugins.js

LINE #285

OLD CODE :


if(lenght > 1 && e.keyCode == 13) {

NEW CODE :


 if(lenght > 1 ) {

We need your Feedback, please upvote if you like this post.
0

Leave A Comment?

You must be logged in to post a comment.