I love this.
<ul class="nav navbar-nav navbar-right"><li><a href="#" class="xpy-value">XPY Value $20.00</a></li><li>
var p = Number(rates.xpy_to_btc) * Number(rates.btc_to_usd)
$('.xpy-value').text('XPY Value $' + p.toFixed(2))
})
$.getJSON('/api/xpy-value', function(data) {
var val = data.xpyValue
$('.xpy-value').text('XPY Value $' + val)
This explains why sometimes I entered in the PayBase and the browser rapidly showed the 20 USD value before changing to the current value.
BTW, Theymos needs to fix this forum. Just when the dump starts the forum goes to bad gateway.
