Merge pull request #9976 from Piccirello/fix-js-error

Fix JavaScript error
This commit is contained in:
Mike Tzou
2018-12-09 15:56:38 +08:00
committed by GitHub

View File

@@ -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>