summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-09 02:52:48 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-09 02:55:51 +0200
commit9397a5d29f22d496803b4b45b7c5c3981de45d08 (patch)
tree47cd72428b76691c6b63a5f57d6dd08cb0b3f4d0
parent22e1803963db254ec2b080d9f93063fd6294eff9 (diff)
update export btn ref
-rw-r--r--src/client/buttons.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/buttons.js b/src/client/buttons.js
index dfd2c5f3..9df8f0b8 100644
--- a/src/client/buttons.js
+++ b/src/client/buttons.js
@@ -12,7 +12,7 @@ $('.save a').click(function(){
localStorage.setItem(key, json);
});
-$('.export').click(function() {
+$('#btn_export').click(function() {
var json = rz_core.main_graph.save_to_json();
var filename = 'graph.json';
var blob = new Blob([json], {type: 'application/json'});