mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 21:38:51 +03:00
Merge pull request #9976 from Piccirello/fix-js-error
Fix JavaScript error
This commit is contained in:
commit
0418401ddd
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue