Disable enter on search
This commit is contained in:
parent
0c66b8a689
commit
c7f970c475
@ -55,7 +55,14 @@
|
|||||||
updater: function (item) {
|
updater: function (item) {
|
||||||
window.parent.location.href = '{{ url("/") }}'+users[item];
|
window.parent.location.href = '{{ url("/") }}'+users[item];
|
||||||
},
|
},
|
||||||
});
|
})
|
||||||
|
.on('keyup keypress', function(event) {
|
||||||
|
var key = event.keyCode || event.which;
|
||||||
|
if (key === 13) {
|
||||||
|
event.preventDefault();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
var c=0;
|
var c=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user