[Pkg-mozext-commits] [tabmixplus] 09/15: ContentClick.jsm exist in Firefox only from version 38, follow up changeset 9879d9fb29bc

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 19:05:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit bcf57ec7d619d50b170caab522f7bdb9aa95ed6e
Author: onemen <tabmix.onemen at gmail.com>
Date:   Fri Mar 13 10:50:38 2015 +0200

    ContentClick.jsm exist in Firefox only from version 38, follow up changeset 9879d9fb29bc
---
 chrome/content/content.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/content.js b/chrome/content/content.js
index f40b90a..82cb6b6 100644
--- a/chrome/content/content.js
+++ b/chrome/content/content.js
@@ -118,7 +118,8 @@ let TabmixContentHandler = {
 
 var TabmixClickEventHandler = {
   init: function init() {
-    if (Services.appinfo.processType == Services.appinfo.PROCESS_TYPE_CONTENT)
+    if (TabmixSvc.version(380) &&
+        Services.appinfo.processType == Services.appinfo.PROCESS_TYPE_CONTENT)
       global.addEventListener("click", this, true);
   },
 

-- 
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