Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filterComposer.js

Issue 29645622: Noissue - Fix linting error in lib/filterComposer.js (Closed)
Patch Set: Created Dec. 20, 2017, 3:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld