From bf1bbe8748d71ca7b3b41a16879677589d64755a Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 15 Sep 2021 18:53:36 -0700 Subject: [PATCH] Bind enter to submit for download_directory. --- frontends/ycdl_flask/templates/channel.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontends/ycdl_flask/templates/channel.html b/frontends/ycdl_flask/templates/channel.html index ada4ab6..c7291f2 100644 --- a/frontends/ycdl_flask/templates/channel.html +++ b/frontends/ycdl_flask/templates/channel.html @@ -673,6 +673,10 @@ if (CHANNEL_ID) var set_queuefile_extension_button = document.getElementById("set_queuefile_extension_button"); common.bind_box_to_button(set_queuefile_extension_input, set_queuefile_extension_button); + var set_download_directory_input = document.getElementById("set_download_directory_input"); + var set_download_directory_button = document.getElementById("set_download_directory_button"); + common.bind_box_to_button(set_download_directory_input, set_download_directory_button); + var set_automark_spinner = document.getElementById("set_automark_spinner"); set_automark_spinner = new spinner.Spinner(set_automark_spinner);