Prevent form submit on plugin page
parent
cbba7876c9
commit
6d6ddd7f9f
|
@ -131,6 +131,11 @@ $(document).ready(function () {
|
|||
$("#search-query").unbind('keyup').keyup(function () {
|
||||
search($("#search-query").val());
|
||||
});
|
||||
|
||||
// Prevent form submit
|
||||
$('#search-query').parent().bind('submit', function() {
|
||||
return false;
|
||||
});
|
||||
|
||||
// update & install
|
||||
$(".do-install, .do-update").unbind('click').click(function (e) {
|
||||
|
|
Loading…
Reference in New Issue