Commit cf42f3fe authored by Okhin's avatar Okhin
Browse files

Fixing the JS

parent c8420771
Pipeline #1210 passed with stages
in 7 seconds
...@@ -9,8 +9,10 @@ ...@@ -9,8 +9,10 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col s12"> <div class="container">
<p>When you hear the MarioBros theme on the phone, you should press 1 to initiate the call to the representative.</p> <div class="col s12">
<p class="bold center">When you hear the MarioBros theme on the phone, you should press 1 to initiate the call to the representative.</p>
</div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
...@@ -115,15 +117,9 @@ ...@@ -115,15 +117,9 @@
caller = normalize_phone(response['data']['caller']); caller = normalize_phone(response['data']['caller']);
callee = normalize_phone(response['data']['callee']); callee = normalize_phone(response['data']['callee']);
if ( phone === caller) { if ( phone === caller) {
$('#step_wait').addClass('bold'); $('#step_wait').show();
$('#step_wait').addClass('text-darken-4');
$('#step_wait').removeClass('light');
$('#step_wait').removeClass('text-lighten-2');
} else { } else {
$('#step_connected').addClass('bold'); $('#step_callee').show();
$('#step_connected').addClass('text-darken-4');
$('#step_connected').removeClass('light');
$('#step_connected').removeClass('text-lighten-2');
}; };
}; };
......
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