home · contact · privacy
Rename "inject".
authorChristian Heller <c.heller@plomlompom.de>
Sun, 23 Feb 2025 00:32:19 +0000 (01:32 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 23 Feb 2025 00:32:19 +0000 (01:32 +0100)
src/templates/file_data.tmpl
src/templates/files.tmpl

index 555c05b458631582ea9369502290db8eb1ff59ae..adeaa585930c15823e3f8511e7512d78a23e9d2d 100644 (file)
@@ -34,7 +34,8 @@ async function update_file_data() {
     if (file_data.present) {
         const a = new_child_to("a", td_present, "yes");
         a.href = "/{{page_names.download}}/{{file.yt_id}}";
-        const button = new_child_to("button", td_present, "inject");
+        td_present.appendChild(document.createTextNode(" "));
+        const button = new_child_to("button", td_present, "add as next");
         button.onclick = function() { player_command("inject_{{file.digest.b64}}"); }
     } else {
         td_present.textContent = "no";
index 9fbf6d2955dd7abf61629b983498f585965473fc..76147ff27a6eed4d2e6926912c4c955f81d70e05 100644 (file)
@@ -95,7 +95,7 @@ needed tags: <select id="tags_select" onchange="select_tag()"></select><br />
 </div>
 <p>
 known files (shown: <span id="files_count">?</span>):
-<button onclick="inject_all();">inject all</button>
+<button onclick="inject_all();">add all as next</button>
 </p>
 <table id="sortable_table">
 <tr>