Commit 58efec61e20ef8c62d500e8fbeb6c6b7b3657c63
1 parent
1f35c170c3
Exists in
master
and in
1 other branch
color change
Showing
2 changed files
with
9 additions
and
3 deletions
Show diff stats
pages/ambassador.html
... | ... | @@ -61,10 +61,10 @@ |
61 | 61 | <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name *" ng-change="enternumber(data.companyName); companykeyPress(data.companyName)" required> |
62 | 62 | </div> |
63 | 63 | <div class="col-xs-12 col-md-6 input-wrapper"> |
64 | - <div class="icon-circle-z"> | |
64 | + <div class="icon-circle-n"> | |
65 | 65 | <i class="material-icons" style="line-height: 30px;">web</i> |
66 | 66 | </div> |
67 | - <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="abc(); descriptionkeyPress(data.website)"></input> | |
67 | + <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="enterwebsite(data.website); revenuekeyPress(data.website)"></input> | |
68 | 68 | </div> |
69 | 69 | <div class="col-xs-12 col-md-6 input-wrapper"> |
70 | 70 | <div class="icon-circle-y"> | ... | ... |
script.js
... | ... | @@ -192,7 +192,11 @@ |
192 | 192 | } |
193 | 193 | } |
194 | 194 | $scope.businesskeyPress = function(business) { |
195 | - $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); | |
195 | + if (business == undefined) { | |
196 | + $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)'); | |
197 | + } else { | |
198 | + $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); | |
199 | + } | |
196 | 200 | } |
197 | 201 | |
198 | 202 | $scope.websitekeyPress = function(prototype) { |
... | ... | @@ -229,8 +233,10 @@ |
229 | 233 | |
230 | 234 | $scope.descriptionkeyPress = function(pitch) { |
231 | 235 | if (pitch == undefined) { |
236 | + console.log("pitch",pitch) | |
232 | 237 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
233 | 238 | } else { |
239 | + console.log("pitch",pitch) | |
234 | 240 | $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)'); |
235 | 241 | } |
236 | 242 | } | ... | ... |