From c66a3917cb0ed68a819e0ce20f6e9578eccf9572 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 27 Sep 2015 06:12:07 +0200 Subject: [PATCH] client/js/shout.js: prevent default action, don't overshadow native keyboard shortcut Closes #453. --- client/js/shout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/shout.js b/client/js/shout.js index 9c2dace5..ea046e88 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -723,11 +723,11 @@ $(function() { Mousetrap.bind([ "command+k", - "ctrl+l", "ctrl+shift+l" ], function (e) { if(e.target === input[0]) { clear(); + e.preventDefault(); } });