Skip to content

Commit

Permalink
Don't interpret taps in the void as node taps
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffyactive committed Aug 24, 2023
1 parent 6ee553f commit 7e07d58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/charlotte.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ let charlotte = (function() {

// Handle a user tap on a specific node
function handleNodeTap(event) {
if(!event.target.id) { return; }

let tappedDeviceSignature = event.target.id();

selectNode(tappedDeviceSignature);
Expand Down

0 comments on commit 7e07d58

Please sign in to comment.