diff options
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(); } |
