diff options
| author | matresstester <[email protected]> | 2014-06-27 03:40:44 -0700 |
|---|---|---|
| committer | matresstester <[email protected]> | 2014-06-27 03:40:44 -0700 |
| commit | 545cf67482d4c95400446963c33a834e53101ce9 (patch) | |
| tree | aa2b60d243e1a59a18fc75bca1770eb13fd8c30c | |
| parent | 74bd1f102e641214402631dcdf12c1249996caa0 (diff) | |
| download | coinos-server-545cf67482d4c95400446963c33a834e53101ce9.tar.gz coinos-server-545cf67482d4c95400446963c33a834e53101ce9.zip | |
Make logo clickable to go into edit page as per #20
| -rw-r--r-- | public/js/calculator.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
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 = "<a href='/#{g.user}/report'>#{address}</a>" |
