mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
@@ -28,11 +28,9 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
if (window.qBittorrent === undefined)
|
||||
window.qBittorrent = {};
|
||||
|
||||
window.qBittorrent.FileTree = (function() {
|
||||
const exports = function() {
|
||||
window.qBittorrent ??= {};
|
||||
window.qBittorrent.FileTree ??= (() => {
|
||||
const exports = () => {
|
||||
return {
|
||||
FilePriority: FilePriority,
|
||||
TriState: TriState,
|
||||
@@ -196,5 +194,4 @@ window.qBittorrent.FileTree = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.FileTree);
|
||||
|
||||
Reference in New Issue
Block a user