summaryrefslogtreecommitdiff
path: root/panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'panel.js')
-rw-r--r--panel.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/panel.js b/panel.js
index 13444af..4136170 100644
--- a/panel.js
+++ b/panel.js
@@ -51,13 +51,10 @@ function unsetevents()
p.onmouseenter=undefined;
p.onmouseleave=undefined;
p.style.left=null;
- if (!p.classList.contains("collapsed"))
- document.getElementById("paneltoggle").innerHTML="«";
}
function togglepanel()
{
let c = document.getElementById("panel").classList.toggle("collapsed");
if (c) document.getElementById("content").classList.add("expanded");
else document.getElementById("content").classList.remove("expanded");
- document.getElementById("paneltoggle").innerHTML=c?"»":"«";
}