extension: Rename `tabSettings` to `tabOptions`

This aligns with the rest of the code that uses the term "options"
rather than "settings".
This commit is contained in:
relrelb 2021-10-01 09:14:15 +03:00 committed by relrelb
parent f2e7457bc0
commit a3acdac0f9
2 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ function isXMLDocument(): boolean {
sendMessageToPage(message).then((response) => { sendMessageToPage(message).then((response) => {
sendResponse({ sendResponse({
loaded: true, loaded: true,
tabSettings: options, tabOptions: options,
optout: pageOptout, optout: pageOptout,
data: response, data: response,
}); });
@ -133,7 +133,7 @@ function isXMLDocument(): boolean {
} else { } else {
sendResponse({ sendResponse({
loaded: false, loaded: false,
tabSettings: options, tabOptions: options,
optout: pageOptout, optout: pageOptout,
}); });
return false; return false;

View File

@ -68,7 +68,7 @@ async function queryTabStatus(
return; return;
} }
tabOptions = response.tabSettings; tabOptions = response.tabOptions;
if (response.loaded) { if (response.loaded) {
listener("status_result_running"); listener("status_result_running");