From e025292231abbd1aca50d631fafe41b3c951e680 Mon Sep 17 00:00:00 2001 From: apple Date: Wed, 31 Jul 2019 19:54:07 +0530 Subject: [PATCH] minor change --- script.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/script.js b/script.js index dd2484b..ecf288e 100644 --- a/script.js +++ b/script.js @@ -366,8 +366,9 @@ $scope.hideval = false; $scope.showvalue = false; $scope.hidevalue = false; + localStorage.setItem("country",'INDIA'); $scope.isShowHide = function (value) { - console.log(value) + console.log('--0-00-',value); var element = document.getElementById("defaultcountry"); element.classList.remove("btn-active"); localStorage.setItem("country",value); @@ -409,7 +410,7 @@ // $scope.data.city = ''; $scope.watch = function(value){ - console.log(value) + console.log("====",value); //document.getElementById("ahmedabad").src = ""; // console.log("cllll",value) $scope.data.city = value; @@ -676,7 +677,7 @@ // $scope.$on('city', function (event, value) { $scope.data.city = localStorage.getItem("city"); $scope.data.country = localStorage.getItem("country"); - //console.log("HERE===",$scope.data.country ); + console.log("HERE===",$scope.data.country ); // }); var data = { "amount": $scope.payingAmnt, @@ -750,7 +751,7 @@ // } // }; - + console.log("$scope.data.country",$scope.data.country) if($scope.data.country == "INDIA"){ $scope.submit = function() { $scope.loading = true; -- 2.0.0