Skip to content

Commit

Permalink
demo-simple: Fix clear
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnor committed Jun 13, 2017
1 parent 85dc30b commit a22e52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo-simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@

// Clear button
document.getElementById("clear").addEventListener("click", function () {
editor.graph.reset();
editor.graph = new fbpGraph.Graph();
});

// Resize to fill window and also have explicit w/h attributes
Expand Down

0 comments on commit a22e52b

Please sign in to comment.