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:
Jérémie Astori 2015-10-07 22:58:14 -04:00
commit 7e2daebd79

View File

@ -731,11 +731,11 @@ $(function() {
Mousetrap.bind([
"command+k",
"ctrl+l",
"ctrl+shift+l"
], function (e) {
if(e.target === input[0]) {
clear();
e.preventDefault();
}
});