From 58efec61e20ef8c62d500e8fbeb6c6b7b3657c63 Mon Sep 17 00:00:00 2001 From: Palak Handa Date: Wed, 5 Sep 2018 11:17:58 +0530 Subject: [PATCH] color change --- pages/ambassador.html | 4 ++-- script.js | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/ambassador.html b/pages/ambassador.html index 1f90e78..4fd5746 100644 --- a/pages/ambassador.html +++ b/pages/ambassador.html @@ -61,10 +61,10 @@
-
+
web
- +
diff --git a/script.js b/script.js index 645cc28..ca380cb 100644 --- a/script.js +++ b/script.js @@ -192,7 +192,11 @@ } } $scope.businesskeyPress = function(business) { - $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); + if (business == undefined) { + $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)'); + } else { + $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); + } } $scope.websitekeyPress = function(prototype) { @@ -229,8 +233,10 @@ $scope.descriptionkeyPress = function(pitch) { if (pitch == undefined) { + console.log("pitch",pitch) $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); } else { + console.log("pitch",pitch) $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)'); } } -- 2.0.0