Skip to content

Commit

Permalink
Alert message of onClickNode function: update tick to back-tick for t…
Browse files Browse the repository at this point in the history
…emplate literal (#100)
  • Loading branch information
LucienBouletRoblin authored and danielcaldas committed Aug 16, 2018
1 parent 0b49dc8 commit 2b2a1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const myConfig = {

// graph event callbacks
const onClickNode = function(nodeId) {
window.alert('Clicked node ${nodeId}');
window.alert(`Clicked node ${nodeId}`);
};

const onMouseOverNode = function(nodeId) {
Expand Down

0 comments on commit 2b2a1d3

Please sign in to comment.