mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 17:35:00 -06:00
Refactor var to let/const or this
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
$('trackersUrls').focus();
|
||||
$('addTrackersButton').addEvent('click', function(e) {
|
||||
new Event(e).stop();
|
||||
var hash = new URI().getData('hash');
|
||||
const hash = new URI().getData('hash');
|
||||
new Request({
|
||||
url: 'api/v2/torrents/addTrackers',
|
||||
method: 'post',
|
||||
|
||||
Reference in New Issue
Block a user