Skip to content

Commit

Permalink
v8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
erosman authored Dec 15, 2023
1 parent 01b3ec1 commit acba1a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class Options {
pref.data = data;

// update Log proxyCache
Log.proxyCache = Cache; // used to get the details for the log
Log.proxyCache = cache; // used to get the details for the log

// helper: remove if proxy is deleted or disabled
const checkSelect = i => i.value && !cache[i.value]?.active && (i.value = '');
Expand Down Expand Up @@ -187,11 +187,11 @@ class Options {
}
pref.mode = mode;

// --- update Proxy
browser.runtime.sendMessage({id: 'setProxy', pref});

// --- save options
this.process(true);

// --- update Proxy
browser.runtime.sendMessage({id: 'setProxy', pref});
}

static async getProxyDetails(elem) {
Expand Down

0 comments on commit acba1a2

Please sign in to comment.