diff options
| author | RblSb <msrblsb@gmail.com> | 2020-03-04 20:56:03 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-03-04 20:56:03 +0300 |
| commit | 81071b59445d702d14a80241f409fc282d509f1f (patch) | |
| tree | 6e6bdcb0860801338bb4cd033558c1c0aea28a05 /src/client/Buttons.hx | |
| parent | 6e28381de77265f8b6a24cdd9c583d1d27d8d7b2 (diff) | |
Template url
Diffstat (limited to 'src/client/Buttons.hx')
| -rw-r--r-- | src/client/Buttons.hx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/Buttons.hx b/src/client/Buttons.hx index 318ba9a..e5c36a0 100644 --- a/src/client/Buttons.hx +++ b/src/client/Buttons.hx @@ -137,6 +137,12 @@ class Buttons { final showCustomEmbed = ge("#showcustomembed"); showCustomEmbed.onclick = e -> showPlayerGroup(showCustomEmbed); + ge("#insert_template").onclick = e -> { + final input:InputElement = cast ge("#mediaurl"); + input.value = main.getTemplateUrl(); + input.focus(); + } + window.onresize = onVideoResize; initSplit(); } |
