From b4d07863698fb01f59e7a0aa343f26a00f88ca22 Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Wed, 19 Aug 2015 06:30:23 -0700 Subject: [PATCH] [Plot] Keycode is a number not a string --- platform/features/plot-reborn/src/directives/MCTPlot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }