[Pkg-mozext-commits] [tabmixplus] 95/147: Follow up bug 1330464 - make the no-useless-parameters eslint rule detect misuses of the Services.prefs APIs
David Prévot
taffit at moszumanska.debian.org
Sat Aug 5 15:27:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 1efebc9d3bb5ccd6eacda8f8f3d57014b445e78c
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun Jan 15 21:05:23 2017 +0200
Follow up bug 1330464 - make the no-useless-parameters eslint rule detect misuses of the Services.prefs APIs
---
chrome/content/click/click.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/chrome/content/click/click.js b/chrome/content/click/click.js
index 4381f87..71c7ba6 100644
--- a/chrome/content/click/click.js
+++ b/chrome/content/click/click.js
@@ -225,6 +225,8 @@ var TabmixTabClickOptions = {
if (typeof gIeTabObj.switchTabEngine == "function") {
if (!aTab.selected)
gBrowser.selectedTab = aTab;
+ // IeTab2.getBoolPref accept default value
+ // eslint-disable-next-line tabmix/no-useless-parameters
gIeTabObj.switchTabEngine(aTab, gIeTabObj.getBoolPref(ieTab.folder + ".alwaysNewTab", false));
}
} else if (window.ieview && window.ieview.launch) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list