Commit 31ea8b87 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Code cleanup

parent 8238a5dd
......@@ -251,11 +251,11 @@
}
$('#btn-clear').click(function() {
input_textarea.val('');
pretty_print.find('.box,.hint').remove();
trigger_update = true;
clear_error();
hide_loader();
input_textarea.val('').focus();
trigger_update = true;
window.update_math();
});
function bind_request(btn, url, handler, condition) {
......
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