From 8fae9f67951a369ff38d958f19c0712328126903 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 18 Aug 2014 17:27:18 +0300 Subject: buttons: remove some dead code, reindent some live code --- index.html | 1 + scripts/buttons.js | 16 +++------------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 90359a57..b234ecf0 100644 --- a/index.html +++ b/index.html @@ -67,6 +67,7 @@
+
diff --git a/scripts/buttons.js b/scripts/buttons.js index dd449722..fce8fa0d 100644 --- a/scripts/buttons.js +++ b/scripts/buttons.js @@ -33,16 +33,6 @@ $('.load').click(function(){ }); - $('.deliverabletest').click(function(){ - deliverableTest(); - }); - -function fetchNode(id){ - for( x in nodes){ - if(x.id===id){ - console.log("found"); - return x; - } - } - return null; -} +$('.deliverabletest').click(function(){ + deliverableTest(); +}); -- cgit v1.3.1