Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D20753
This commit is contained in:
Marco Bonardo
2019-02-28 08:39:33 +00:00
parent 17ed954ca0
commit a040dd21a3
65 changed files with 304 additions and 162 deletions

View File

@@ -93,8 +93,9 @@ var tabPreviewPanelHelper = {
if (host._prevFocus) {
Services.focus.setFocus(host._prevFocus, Ci.nsIFocusManager.FLAG_NOSCROLL);
host._prevFocus = null;
} else
} else {
gBrowser.selectedBrowser.focus();
}
if (host.tabToSelect) {
gBrowser.selectedTab = host.tabToSelect;