Merge pull request #481 from williamboman/fix/chat-clear-prevent-default
client/js/shout.js: prevent default action when clearing chat
This commit is contained in:
commit
7e2daebd79
@ -731,11 +731,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