WebUI: enforce coding style

Actually, not all of them but some that can be enforced by eslint.
The changes are made by eslint with minor manual tweaking.

PR #17046.
This commit is contained in:
Chocobo1
2022-05-18 11:37:05 +08:00
committed by GitHub
parent 5af96943e3
commit dbfd6a2368
20 changed files with 155 additions and 98 deletions

View File

@@ -679,7 +679,8 @@
method: 'get',
noCache: true,
onSuccess: function(info) {
if (!info) return;
if (!info)
return;
$('qtVersion').textContent = info.qt;
$('libtorrentVersion').textContent = info.libtorrent;