Commit 9da5be02 by Joshua Spayd

Move JavaScript to edx-proctoring repo

parent dd6d172a
......@@ -25,20 +25,6 @@
</b>
</span>
<a id="toggle_timer" href="#" title="<%- gettext("Hide Timer") %>"><i class="fa fa-eye-slash" aria-hidden="true"></i></a>
<script type="text/javascript">
$("#toggle_timer").click(function() {
if ($("#time_remaining_id").css("visibility") === "visible") {
$("#time_remaining_id").css("visibility", "hidden");
$(this).attr("title", "<%- gettext("Show Timer") %>");
$(this).find("i").removeClass("fa-eye-slash").addClass("fa-eye");
} else {
$("#time_remaining_id").css("visibility", "visible");
$(this).attr("title", "<%- gettext("Hide Timer") %>");
$(this).find("i").removeClass("fa-eye").addClass("fa-eye-slash");
}
return false; // prevents the window from scrolling up on click
});
</script>
</span>
</div>
</div>
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