diff options
| author | RblSb <msrblsb@gmail.com> | 2020-03-04 00:06:52 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-03-04 00:10:09 +0300 |
| commit | f369250f8a20f926855e9d0d3d054632e322b987 (patch) | |
| tree | 34790e7d1a73aa230f68cb75fcf3a2c44866675e /src/client/Buttons.hx | |
| parent | 3c5e157371e623630c648a274386c11b7cae3586 (diff) | |
Iframe items
Diffstat (limited to 'src/client/Buttons.hx')
| -rw-r--r-- | src/client/Buttons.hx | 11 |
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(); } |
