diff --git a/platform/features/plot-reborn/src/directives/MCTPlot.js b/platform/features/plot-reborn/src/directives/MCTPlot.js index cef2126935..7f32903358 100644 --- a/platform/features/plot-reborn/src/directives/MCTPlot.js +++ b/platform/features/plot-reborn/src/directives/MCTPlot.js @@ -202,13 +202,13 @@ define( } function toggleInteractionMode(event) { - if (event.keyCode === '18') { // control key. + if (event.keyCode === 18) { // control key. watchForDrag(); } } function resetInteractionMode(event) { - if (event.keyCode === '18') { + if (event.keyCode === 18) { watchForMarquee(); } }