mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 15:12:32 -06:00
Extract WebUI localStorage access into class
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
const selectedTab = $(getLocalStorageItem('selected_tab', 'PropGeneralLink'));
|
||||
const selectedTab = $(LocalPreferences.get('selected_tab', 'PropGeneralLink'));
|
||||
if (selectedTab)
|
||||
selectedTab.click();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user