aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Buttons.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-03-04 00:06:52 +0300
committerRblSb <msrblsb@gmail.com>2020-03-04 00:10:09 +0300
commitf369250f8a20f926855e9d0d3d054632e322b987 (patch)
tree34790e7d1a73aa230f68cb75fcf3a2c44866675e /src/client/Buttons.hx
parent3c5e157371e623630c648a274386c11b7cae3586 (diff)
Iframe items
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