aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/index.coffee
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-12-06 20:23:34 -0800
committerAdam Soltys <[email protected]>2012-12-06 20:23:34 -0800
commit749787381c3fdcfb45852b2234b8099483ff0cf5 (patch)
tree776f0b44a839426bcdf1e628eadc1b4b57b6638d /public/js/index.coffee
parent00a08d7c8b10b726830505b58a045a49bb2046fe (diff)
downloadcoinos-server-749787381c3fdcfb45852b2234b8099483ff0cf5.tar.gz
coinos-server-749787381c3fdcfb45852b2234b8099483ff0cf5.zip
Code re-org
Diffstat (limited to 'public/js/index.coffee')
-rw-r--r--public/js/index.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.coffee b/public/js/index.coffee
index 2a8a6b5a..b180ee2d 100644
--- a/public/js/index.coffee
+++ b/public/js/index.coffee
@@ -3,6 +3,7 @@
$(->
fetchExchangeRate('ask')
fetchExchangeRate('bid')
+ setTimeout(fetchExchangeRate, 900000)
)
fetchExchangeRate = (type) ->
@@ -20,4 +21,3 @@ fetchExchangeRate = (type) ->
error: ->
$("##{type}").html('??')
)
- setTimeout(fetchExchangeRate, 900000)