mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 04:45:20 +03:00
add an alternative to chrome.storage.local
This commit is contained in:
parent
5eedc3b507
commit
426e753b53
11 changed files with 141 additions and 99 deletions
|
@ -345,7 +345,7 @@ GUI_control.prototype.content_ready = function (callback) {
|
|||
}
|
||||
|
||||
GUI_control.prototype.selectDefaultTabWhenConnected = function() {
|
||||
chrome.storage.local.get(['rememberLastTab', 'lastTab'], function (result) {
|
||||
ConfigStorage.get(['rememberLastTab', 'lastTab'], function (result) {
|
||||
if (!(result.rememberLastTab
|
||||
&& !!result.lastTab
|
||||
&& result.lastTab.substring(4) != "cli")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue