diff options
| author | Adam Soltys <[email protected]> | 2012-12-06 20:23:34 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-12-06 20:23:34 -0800 |
| commit | 749787381c3fdcfb45852b2234b8099483ff0cf5 (patch) | |
| tree | 776f0b44a839426bcdf1e628eadc1b4b57b6638d /public/js/calculator.coffee | |
| parent | 00a08d7c8b10b726830505b58a045a49bb2046fe (diff) | |
| download | coinos-server-749787381c3fdcfb45852b2234b8099483ff0cf5.tar.gz coinos-server-749787381c3fdcfb45852b2234b8099483ff0cf5.zip | |
Code re-org
Diffstat (limited to 'public/js/calculator.coffee')
| -rw-r--r-- | public/js/calculator.coffee | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index ef26fd63..505a1a09 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -15,7 +15,7 @@ g = exports ? this $(-> g.user = $('#user').val() - g.name = get('name') + g.title = get('title') g.address = get('address') g.symbol = get('symbol') g.commission = parseFloat(get('commission')) @@ -28,7 +28,7 @@ $(-> dataType: 'json', success: (data) -> if data? - g.name = data.name + g.title = data.title g.address = data.address g.symbol = data.symbol g.commission = data.commission @@ -54,10 +54,10 @@ setup = -> if g.logo $('#logo').attr('src', g.logo).show() - else if not g.name + else if not g.title $('#logo').attr('src', 'img/bitcoin.png').show() else - $('#name').html(g.name).show() + $('#title').html(g.title).show() address = g.address if g.user? and g.user |
