aboutsummaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/calculator.coffee4
-rw-r--r--public/js/index.coffee4
2 files changed, 4 insertions, 4 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee
index 2f004426..2c8a33f0 100644
--- a/public/js/calculator.coffee
+++ b/public/js/calculator.coffee
@@ -75,12 +75,12 @@ setup = ->
if g.logo
$('#logo').attr('src', g.logo).show()
else unless g.title
- $('#logo').attr('src', 'img/bitcoin.png').show()
+ $('#logo').attr('src', '/assets/img/bitcoin.png').show()
$('#logo').click -> $(location).attr("href","/#{g.user}/edit")
address = g.address
if g.user? and g.user
- address = "#{address} <a href='http://blockchain.info/address/#{address}' target='_blank'><img src='/img/blockchain.png' /></a>"
+ address = "#{address} <a href='http://blockchain.info/address/#{address}' target='_blank'><img src='/assets/img/blockchain.png' /></a>"
if check_address(g.address)
$('#address').html(address)
diff --git a/public/js/index.coffee b/public/js/index.coffee
index 8fffa607..090abbe2 100644
--- a/public/js/index.coffee
+++ b/public/js/index.coffee
@@ -1,5 +1,5 @@
-#= require jquery-1.8.2.min.js
-#= require bootstrap.js
+#= require js/jquery-1.8.2.min.js
+#= require js/bootstrap.min.js
g = exports ? this