Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2017-03-22 01:18:15 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-03-22 01:18:15 +0300
commit51bcd689b625ce79de529a20868c1c2215093025 (patch)
tree41a8b2a163c4df470f7f1e8c1beba8044ac0e406 /plugins/SegmentEditor
parent660386871e53467c01c2645bdd398f618bbece00 (diff)
ignore keyboard events if ALT key is pressed (#11503)
Diffstat (limited to 'plugins/SegmentEditor')
-rw-r--r--plugins/SegmentEditor/javascripts/Segmentation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/SegmentEditor/javascripts/Segmentation.js b/plugins/SegmentEditor/javascripts/Segmentation.js
index 231746a37a..d85399781b 100644
--- a/plugins/SegmentEditor/javascripts/Segmentation.js
+++ b/plugins/SegmentEditor/javascripts/Segmentation.js
@@ -8,6 +8,9 @@
Segmentation = (function($) {
Mousetrap.bind('s', function (event) {
+ if (event.altKey) {
+ return;
+ }
if (event.preventDefault) {
event.preventDefault();
} else {