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.hx6
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();
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage