Browse Source

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

Fix JavaScript error
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
0418401ddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/webui/www/private/properties_content.html

4
src/webui/www/private/properties_content.html

@ -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…
Cancel
Save