diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-03-22 01:18:15 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-03-22 01:18:15 +0300 |
commit | 51bcd689b625ce79de529a20868c1c2215093025 (patch) | |
tree | 41a8b2a163c4df470f7f1e8c1beba8044ac0e406 /plugins/CoreHome/javascripts/calendar.js | |
parent | 660386871e53467c01c2645bdd398f618bbece00 (diff) |
ignore keyboard events if ALT key is pressed (#11503)
Diffstat (limited to 'plugins/CoreHome/javascripts/calendar.js')
-rw-r--r-- | plugins/CoreHome/javascripts/calendar.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/CoreHome/javascripts/calendar.js b/plugins/CoreHome/javascripts/calendar.js index fdf58f2cf0..c026bc8da5 100644 --- a/plugins/CoreHome/javascripts/calendar.js +++ b/plugins/CoreHome/javascripts/calendar.js @@ -699,6 +699,9 @@ }); Mousetrap.bind('d', function(event) { + if (event.altKey) { + return; + } if (event.preventDefault) { event.preventDefault(); } else { |