Extract WebUI localStorage access into class

This commit is contained in:
Thomas Piccirello
2019-08-06 00:28:15 -07:00
parent f339f629ae
commit 7047974132
9 changed files with 100 additions and 70 deletions

View File

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