mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07: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:
parent
815ab180c1
commit
9c26e5d4d6
22 changed files with 889 additions and 892 deletions
|
@ -1052,8 +1052,8 @@ const initializeWindows = function() {
|
|||
|
||||
// download response to file
|
||||
const element = document.createElement("a");
|
||||
element.setAttribute("href", url);
|
||||
element.setAttribute("download", (name + ".torrent"));
|
||||
element.href = url;
|
||||
element.download = (name + ".torrent");
|
||||
document.body.appendChild(element);
|
||||
element.click();
|
||||
document.body.removeChild(element);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue