diff --git a/src/mami.js/ui/hooks.js b/src/mami.js/ui/hooks.js index 35d7e80..af324f9 100644 --- a/src/mami.js/ui/hooks.js +++ b/src/mami.js/ui/hooks.js @@ -122,7 +122,10 @@ Umi.UI.Hooks = (function() { window.addEventListener('keydown', function(ev) { - if(!ev.target.matches('input, textarea')) + if((ev.ctrlKey && ev.key !== 'v') || ev.altKey) + return; + + if(!ev.target.matches('input, textarea, select')) $i('umi-msg-text').focus(); });