mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Warp script in anonymous scope (IIFE)
It was erroneously removed in 9b64d50660.
This commit is contained in:
@@ -843,6 +843,7 @@
|
|||||||
<script>
|
<script>
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
(() => {
|
||||||
const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get();
|
const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get();
|
||||||
const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get();
|
const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get();
|
||||||
|
|
||||||
@@ -853,4 +854,5 @@
|
|||||||
$('opensslVersion').textContent = buildInfo.openssl;
|
$('opensslVersion').textContent = buildInfo.openssl;
|
||||||
$('zlibVersion').textContent = buildInfo.zlib;
|
$('zlibVersion').textContent = buildInfo.zlib;
|
||||||
$('qbittorrentVersion').textContent += ` (${buildInfo.bitness}-bit)`;
|
$('qbittorrentVersion').textContent += ` (${buildInfo.bitness}-bit)`;
|
||||||
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user