mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 16:12:30 -06:00
@@ -29,11 +29,13 @@
|
||||
}
|
||||
}
|
||||
}).activate();
|
||||
window.addEvent("domready", () => {
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
$("folderName").focus();
|
||||
const path = new URI().getData("path");
|
||||
$("submitButton").addEvent("click", (e) => {
|
||||
new Event(e).stop();
|
||||
$("submitButton").addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
// check field
|
||||
const folderName = $("folderName").value.trim();
|
||||
if (folderName === "") {
|
||||
|
||||
Reference in New Issue
Block a user