From 91eeb4455ca4b593692ebb8171ad5a43e05ba202 Mon Sep 17 00:00:00 2001 From: palak Date: Tue, 17 Oct 2017 13:12:03 +0530 Subject: [PATCH] modify --- pages/registration.html | 4 ++-- script.js | 17 +++++++---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pages/registration.html b/pages/registration.html index 7f4fa81..4001d71 100644 --- a/pages/registration.html +++ b/pages/registration.html @@ -283,9 +283,9 @@
thumb_up
- - +
diff --git a/script.js b/script.js index 16c9dab..f900eca 100644 --- a/script.js +++ b/script.js @@ -155,16 +155,6 @@ }, function myError(error) {}); }; - // $scope.removeNooError = function() { - // $('#invalidIdea').css('display', 'block'); - // $('#noExist').css('display', 'none'); - // }; - // $scope.valCheck = function(value){ - // if (value!= undefined) { - // $('#invalidIdea').css('display', 'block'); - // } - // } - $rootScope.tokenCall = function(val) { console.log('val-------->', val); if (val == undefined) { @@ -630,11 +620,18 @@ } } + $scope.removeNooError = function() { + $('#invalidIdea').css('display', 'block'); + $('#noExist').css('display', 'none'); + }; + $scope.ideakeyPress = function(financial) { console.log("financial", financial); if (financial == undefined) { + $('#invalidIdea').css('display', 'block'); $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); } else { + $('#invalidIdea').css('display', 'none'); $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); } } -- 2.0.0