Commit cf42f3fe authored by okhin's avatar okhin 🚴

Fixing the JS

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