Commit 2a4d57a9 by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

add variable

See merge request manzarH/dic-global-dev!588
parents 27156a79 c73ec0e9
...@@ -254,6 +254,7 @@ ...@@ -254,6 +254,7 @@
$.ajax(settings).done(function (response) { $.ajax(settings).done(function (response) {
$('#bse').text("BSE:"+response.price.regularMarketPrice.raw); $('#bse').text("BSE:"+response.price.regularMarketPrice.raw);
var regularMarketChangePercent = response.price.regularMarketChangePercent.fmt;
console.log(regularMarketChangePercent.substring(0,1)=='-') console.log(regularMarketChangePercent.substring(0,1)=='-')
if(regularMarketChangePercent.substring(0,1)=='-') if(regularMarketChangePercent.substring(0,1)=='-')
{ {
......
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