Replace redundent code for obtain the advanced search form
This commit is contained in:
parent
2bacdf7b52
commit
17274d141e
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@
|
||||||
if (e.keyCode == 13) {
|
if (e.keyCode == 13) {
|
||||||
// Cancel the default action on keypress event
|
// Cancel the default action on keypress event
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('form#advanced-search-form').submit();
|
$form.submit();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue