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) => {
sendResponse({
loaded: true,
tabSettings: options,
tabOptions: options,
optout: pageOptout,
data: response,
});
@ -133,7 +133,7 @@ function isXMLDocument(): boolean {
} else {
sendResponse({
loaded: false,
tabSettings: options,
tabOptions: options,
optout: pageOptout,
});
return false;

View File

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