aboutsummaryrefslogtreecommitdiff
path: root/common/Test.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/Test.js')
-rw-r--r--common/Test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/Test.js b/common/Test.js
index e272d1e..7acbfa0 100644
--- a/common/Test.js
+++ b/common/Test.js
@@ -40,11 +40,11 @@ var Test = (() => {
async getTab(activate = false) {
let url = await this.getURL();
- let tab = url ? (await browser.tabs.query({url}))[0] ||
- (await browser.tabs.create({url}))
+ let tab = url ? (await browser.tabs.query({ url }))[0] ||
+ (await browser.tabs.create({ url }))
: null;
if (tab && activate) {
- await browser.tabs.update(tab.id, {active: true});
+ await browser.tabs.update(tab.id, { active: true });
}
return tab;
}