Commit c7f1dc1e by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

update js

See merge request manzarH/dic-global-dev!586
parents 84022ee5 8eae9542
...@@ -254,6 +254,14 @@ ...@@ -254,6 +254,14 @@
$.ajax(settings).done(function (response) { $.ajax(settings).done(function (response) {
$('#bse').text("BSE:"+response.price.regularMarketPrice.raw); $('#bse').text("BSE:"+response.price.regularMarketPrice.raw);
if(regularMarketChangePercent.substring(0,1)=='-')
{
$('#bse').parent('li').addClass('down');
}
else
{
$('#bse').parent('li').removeClass('down');
}
console.log(response.price.regularMarketPrice); console.log(response.price.regularMarketPrice);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment