mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 23:37:59 +00:00
Fix JavaScript error
Fixes a JavaScript error caused by the element lookup returning null
This commit is contained in:
parent
6bb4eb825b
commit
adcfbf0b8c
@ -149,5 +149,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
torrentPeersTable.setup('torrentPeersTableDiv', 'torrentPeersTableFixedHeaderDiv', null);
|
torrentPeersTable.setup('torrentPeersTableDiv', 'torrentPeersTableFixedHeaderDiv', null);
|
||||||
$(getLocalStorageItem('selected_tab', 'PropGeneralLink')).click();
|
var selectedTab = $(getLocalStorageItem('selected_tab', 'PropGeneralLink'));
|
||||||
|
if (selectedTab)
|
||||||
|
selectedTab.click();
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user