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:
parent
f2e7457bc0
commit
a3acdac0f9
|
@ -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;
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue