Commit c40ecf67 authored by Prakhar Agarwal's avatar Prakhar Agarwal 🎯
Browse files

improved look of close button

parent 8ee0b5ab
<div id="patch" class="patch">
<div class="d-flex justify-content-between align-items-center">
<h6 class="patch-filename" id="patch-filename" style="margin-right: auto; margin-left: auto;"></h6>
<i id="close-canvas" class="fa fa-times text-primary" style="cursor: pointer;"></i>
<button id="close-canvas" type="button" class="close" aria-label="Close">
<span class="p-2" aria-hidden="true">&times;</span>
</button>
</div>
<div class="rounded">
<!-- Patch menu -->
......
......@@ -519,9 +519,10 @@
// Add pd module to pd
// Clear Console
document.getElementById("clear").addEventListener("click",function clear(){
document.getElementById('p1').innerHTML='';
})
document.getElementById("clear").addEventListener("click", function() {
document.getElementById("p1").innerHTML="";
});
</script>
<!-- Pd Bundle -->
......
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