client/js/shout.js: prevent default action, don't overshadow native keyboard shortcut
Closes #453.
This commit is contained in:
parent
956807b325
commit
c66a3917cb
@ -723,11 +723,11 @@ $(function() {
|
||||
|
||||
Mousetrap.bind([
|
||||
"command+k",
|
||||
"ctrl+l",
|
||||
"ctrl+shift+l"
|
||||
], function (e) {
|
||||
if(e.target === input[0]) {
|
||||
clear();
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user