Index: lib/filterComposer.js |
diff --git a/lib/filterComposer.js b/lib/filterComposer.js |
index e55a4fc6e19d4993d4a1c8c737ae1e5a6e4859a0..99b17c6002d93924f2ddc71373b5584770e9c913 100644 |
--- a/lib/filterComposer.js |
+++ b/lib/filterComposer.js |
@@ -228,8 +228,7 @@ port.on("composer.openDialog", (message, sender) => |
// populate the tabs property reliably. |
if ("tabs" in window) |
return window; |
- else |
- return browser.windows.get(window.id, {populate: true}); |
+ return browser.windows.get(window.id, {populate: true}); |
}).then(window => |
{ |
let popupPageId = window.tabs[0].id; |