Commit c73ec0e9 by Manzar Hussain

add variable

parent 056ba936
......@@ -254,6 +254,7 @@
$.ajax(settings).done(function (response) {
$('#bse').text("BSE:"+response.price.regularMarketPrice.raw);
var regularMarketChangePercent = response.price.regularMarketChangePercent.fmt;
console.log(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