mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +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>
|
||||
torrentPeersTable.setup('torrentPeersTableDiv', 'torrentPeersTableFixedHeaderDiv', null);
|
||||
$(getLocalStorageItem('selected_tab', 'PropGeneralLink')).click();
|
||||
var selectedTab = $(getLocalStorageItem('selected_tab', 'PropGeneralLink'));
|
||||
if (selectedTab)
|
||||
selectedTab.click();
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user