Skip to content

Commit 7179332

Browse files
committed
Fix lint
1 parent 913d1cc commit 7179332

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/webui/www/private/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ <h1 class="applicationTitle">qBittorrent Web User Interface <span class="version
251251
<li><a href="#addPeer"><img src="images/peers-add.svg" alt="QBT_TR(Add peers...)QBT_TR[CONTEXT=PeerListWidget]"> QBT_TR(Add peers...)QBT_TR[CONTEXT=PeerListWidget]</a></li>
252252
<li><a href="#copyPeer" id="CopyPeerInfo"><img src="images/edit-copy.svg" alt="QBT_TR(Copy IP:port)QBT_TR[CONTEXT=PeerListWidget]"> QBT_TR(Copy IP:port)QBT_TR[CONTEXT=PeerListWidget]</a></li>
253253
<li class="separator"><a href="#banPeer"><img src="images/peers-remove.svg" alt="QBT_TR(Ban peer permanently)QBT_TR[CONTEXT=PeerListWidget]"> QBT_TR(Ban peer permanently)QBT_TR[CONTEXT=PeerListWidget]</a></li>
254-
<li><a href="#shadowbanPeer"><img src="images/peers-remove.svg" alt="QBT_TR(Shadowban peer)QBT_TR[CONTEXT=PeerListWidget]" /> QBT_TR(Shadowban peer)QBT_TR[CONTEXT=PeerListWidget]</a></li>
254+
<li><a href="#shadowbanPeer"><img src="images/peers-remove.svg" alt="QBT_TR(Shadowban peer)QBT_TR[CONTEXT=PeerListWidget]"> QBT_TR(Shadowban peer)QBT_TR[CONTEXT=PeerListWidget]</a></li>
255255
</ul>
256256
<ul id="torrentWebseedsMenu" class="contextMenu">
257257
<li><a href="#AddWebSeeds"><img src="images/list-add.svg" alt="QBT_TR(Add web seeds...)QBT_TR[CONTEXT=PropertiesWidget]"> QBT_TR(Add web seeds...)QBT_TR[CONTEXT=PropertiesWidget]</a></li>

src/webui/www/private/scripts/dynamicTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ window.qBittorrent.DynamicTable ??= (() => {
10241024
}
10251025
else {
10261026
const tr = this.getTrByRowId(rowId);
1027-
tr?.remove();
1027+
tr?.remove();
10281028
}
10291029
},
10301030

src/webui/www/private/views/preferences.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,8 @@
596596
</div>
597597
<div class="formRow">
598598
<fieldset class="settings">
599-
<legend>QBT_TR(Manually shadow banned IP addresses...)QBT_TR[CONTEXT=OptionsDialog]</legend>
600-
<textarea id="shadowBannedIPs" rows="5" cols="70"></textarea>
599+
<legend id="shadowBanLabel">QBT_TR(Manually shadow banned IP addresses...)QBT_TR[CONTEXT=OptionsDialog]</legend>
600+
<textarea id="shadowBannedIPs" rows="5" cols="70" aria-labelledby="shadowBanLabel"></textarea>
601601
</fieldset>
602602
</div>
603603
</fieldset>
@@ -1025,7 +1025,7 @@
10251025
</tbody>
10261026
</table>
10271027
<div class="formRow">
1028-
<input type="checkbox" id="cookie_expiration_checkbox" />
1028+
<input type="checkbox" id="cookie_expiration_checkbox">
10291029
<label for="cookie_expiration_checkbox">QBT_TR(Enable cookie expiration)QBT_TR[CONTEXT=OptionsDialog]</label>
10301030
</div>
10311031
</fieldset>

0 commit comments

Comments
 (0)