[Pkg-mozext-commits] [tabmixplus] 117/147: Follow up bug 1349502 - Make tabbrowser.xml use AppConstants from the global scope

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:43 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 a6713b338c7d82567475fc2fe6235b2165de6e30
Author: onemen <tabmix.onemen at gmail.com>
Date:   Mon Mar 27 16:26:51 2017 +0300

    Follow up bug 1349502 - Make tabbrowser.xml use AppConstants from the global scope
---
 chrome/content/minit/minit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 8afb852..2b82ff6 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -204,7 +204,7 @@ var TMP_tabDNDObserver = {
       context.fillRect(0, 0, canvas.width, canvas.height);
 
       let captureListener;
-      let platform = gBrowser.AppConstants.platform;
+      let platform = AppConstants.platform;
       // On Windows and Mac we can update the drag image during a drag
       // using updateDragImage. On Linux, we can use a panel.
       if (Tabmix.isVersion(530) && (platform == "win" || platform == "macosx")) {

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