Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

prevent ctrl or cmd plus left/right timeline arrows from changing date

Edward Plato8096bbe321f5
diff --git a/web/js/containers/timeline/timeline.js b/web/js/containers/timeline/timeline.js
index b6eec129f..a1cb758af 100644
--- a/web/js/containers/timeline/timeline.js
+++ b/web/js/containers/timeline/timeline.js
@@ -373,7 +373,7 @@ class Timeline extends React.Component {
*/
handleKeyDown = (e) => {
// prevent left/right arrows changing date within inputs
- if (e.target.tagName !== 'INPUT') {
+ if (e.target.tagName !== 'INPUT' && !e.ctrlKey && !e.metaKey) {
// left arrow
if (e.keyCode === 37) {
e.preventDefault();