aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Buttons.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Buttons.hx')
-rw-r--r--src/client/Buttons.hx11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/client/Buttons.hx b/src/client/Buttons.hx
index 31f1e86..dec8f04 100644
--- a/src/client/Buttons.hx
+++ b/src/client/Buttons.hx
@@ -133,11 +133,18 @@ class Buttons {
final showMediaUrl = ge("#showmediaurl");
showMediaUrl.onclick = e -> {
- ge("#showmediaurl").classList.toggle("collapsed");
- ge("#showmediaurl").classList.toggle("active");
+ showMediaUrl.classList.toggle("collapsed");
+ showMediaUrl.classList.toggle("active");
ge("#addfromurl").classList.toggle("collapse");
}
+ final showCustomEmbed = ge("#showcustomembed");
+ showCustomEmbed.onclick = e -> {
+ showCustomEmbed.classList.toggle("collapsed");
+ showCustomEmbed.classList.toggle("active");
+ ge("#customembed").classList.toggle("collapse");
+ }
+
window.onresize = onVideoResize;
initSplit();
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage