From 545cf67482d4c95400446963c33a834e53101ce9 Mon Sep 17 00:00:00 2001 From: matresstester Date: Fri, 27 Jun 2014 03:40:44 -0700 Subject: Make logo clickable to go into edit page as per #20 --- public/js/calculator.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index b1d995e9..db073210 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -76,6 +76,7 @@ setup = -> else unless g.title $('#logo').attr('src', 'img/bitcoin.png').show() + $('#logo').click -> $(location).attr("href","/#{g.user}/edit") address = g.address if g.user? and g.user address = "#{address}" -- cgit v1.2.3