mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 03:06:37 +03:00
Warp script in anonymous scope (IIFE)
It was erroneously removed in 9b64d50660
.
This commit is contained in:
parent
cffd74b62a
commit
9192c988ed
1 changed files with 11 additions and 9 deletions
|
@ -843,14 +843,16 @@
|
|||
<script>
|
||||
'use strict';
|
||||
|
||||
const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get();
|
||||
const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get();
|
||||
(() => {
|
||||
const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get();
|
||||
const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get();
|
||||
|
||||
$('qbittorrentVersion').innerText = `qBittorrent ${qbtVersion} QBT_TR(WebUI)QBT_TR[CONTEXT=OptionsDialog]`;
|
||||
$('qtVersion').textContent = buildInfo.qt;
|
||||
$('libtorrentVersion').textContent = buildInfo.libtorrent;
|
||||
$('boostVersion').textContent = buildInfo.boost;
|
||||
$('opensslVersion').textContent = buildInfo.openssl;
|
||||
$('zlibVersion').textContent = buildInfo.zlib;
|
||||
$('qbittorrentVersion').textContent += ` (${buildInfo.bitness}-bit)`;
|
||||
$('qbittorrentVersion').innerText = `qBittorrent ${qbtVersion} QBT_TR(WebUI)QBT_TR[CONTEXT=OptionsDialog]`;
|
||||
$('qtVersion').textContent = buildInfo.qt;
|
||||
$('libtorrentVersion').textContent = buildInfo.libtorrent;
|
||||
$('boostVersion').textContent = buildInfo.boost;
|
||||
$('opensslVersion').textContent = buildInfo.openssl;
|
||||
$('zlibVersion').textContent = buildInfo.zlib;
|
||||
$('qbittorrentVersion').textContent += ` (${buildInfo.bitness}-bit)`;
|
||||
})();
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue