Added support {symbol} variable in Cryptonator
parent
c822d8a53d
commit
02e2b39ec8
|
@ -401,6 +401,7 @@
|
|||
var marketsData = [];
|
||||
for (var i = 0; i < cryptonatorWidget.length; i++){
|
||||
(function(i){
|
||||
cryptonatorWidget[i] = cryptonatorWidget[i].replace('{symbol}', lastStats.config.symbol.toLowerCase());
|
||||
xhrMarketGets[cryptonatorWidget[i]] = $.get('https://www.cryptonator.com/api/ticker/' + cryptonatorWidget[i], function(data){
|
||||
if(data.error) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue