mirror of
https://github.com/nasa/openmct.git
synced 2025-04-19 16:40:58 +00:00
[Plot] Keycode is a number not a string
This commit is contained in:
parent
eb69e02ce3
commit
b4d0786369
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user