mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 08:02:30 -06:00
WebUI: access attribute/property natively
It is now clearer to see what property is being accessed. Previously mootools library would re-map attribute/property to another. PR #21007.
This commit is contained in:
@@ -131,7 +131,7 @@ function submitLoginForm(event) {
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
const loginForm = document.getElementById("loginform");
|
||||
loginForm.setAttribute("method", "POST");
|
||||
loginForm.method = "POST";
|
||||
loginForm.addEventListener("submit", submitLoginForm);
|
||||
|
||||
setupI18n();
|
||||
|
||||
Reference in New Issue
Block a user