mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 14:42:29 -06:00
Move JavaScript code into explicit namespaces
This cleans up the global namespace by explicitly exporting shared values. All html and JavaScript files have been converted to use explicit exports except for client.js and mocha-init.js
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
const path = new URI().getData('path');
|
||||
// set text field to current value
|
||||
if (path)
|
||||
$('setLocation').value = escapeHtml(decodeURIComponent(path));
|
||||
$('setLocation').value = window.qBittorrent.Misc.escapeHtml(decodeURIComponent(path));
|
||||
|
||||
$('setLocation').focus();
|
||||
$('setLocationButton').addEvent('click', function(e) {
|
||||
|
||||
Reference in New Issue
Block a user