[Plot] Keycode is a number not a string

This commit is contained in:
Pete Richards 2015-08-19 06:30:23 -07:00
parent eb69e02ce3
commit b4d0786369

View File

@ -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();
}
}