diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-03 15:19:16 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-03 15:19:30 +0200 |
| commit | e895a92c6bebd686074b8a75ac2dfe1dbabfc654 (patch) | |
| tree | d7f217d0d5d6c9cc1327966fe3403f1e3f44fc02 | |
| parent | 7308de79aefd12b97aba946676548e35e151af27 (diff) | |
drag_n_drop: fix load break on graph.js introduction (Fixes #123)
| -rw-r--r-- | scripts/drag_n_drop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/drag_n_drop.js b/scripts/drag_n_drop.js index 6d1101ae..0f16c6fd 100644 --- a/scripts/drag_n_drop.js +++ b/scripts/drag_n_drop.js @@ -13,7 +13,7 @@ $(document).on('drop', function(e) { console.log('drop: error: reading from file failed'); } else { console.log('loading dropped file'); - RZ.graph.load_from_json(fr.result); + RZ.load_from_json(fr.result); } } fr.readAsText(file); |
