[Pkg-mozext-commits] [tabmixplus] 19/48: Follow up bug 1387009 - Remove deprecated tabbrowser methods and properties
David Prévot
taffit at moszumanska.debian.org
Sun Aug 20 03:14:36 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 fe3a30a2290d8c866c1ceb39a232eb30b393ce93
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat Aug 5 12:16:36 2017 +0300
Follow up bug 1387009 - Remove deprecated tabbrowser methods and properties
---
chrome/content/minit/tablib.js | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index 6405121..89cf5b2 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -377,11 +377,13 @@ Tabmix.tablib = {
).toCode();
}
- // after bug 347930 - change Tab strip to be a toolbar
- Tabmix.changeCode(gBrowser, "gBrowser.setStripVisibilityTo")._replace(
- 'this.tabContainer.visible = aShow;',
- 'if (!aShow || TabmixTabbar.hideMode != 2) $&'
- ).toCode();
+ if (!Tabmix.isVersion(570)) {
+ // after bug 347930 - change Tab strip to be a toolbar
+ Tabmix.changeCode(gBrowser, "gBrowser.setStripVisibilityTo")._replace(
+ 'this.tabContainer.visible = aShow;',
+ 'if (!aShow || TabmixTabbar.hideMode != 2) $&'
+ ).toCode();
+ }
if (Tabmix.isVersion(390) && gMultiProcessBrowser) {
/*
--
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