[Pkg-mozext-commits] [tabmixplus] 09/48: Make sure gContextMenu.tabmixLinks is not null

David Prévot taffit at moszumanska.debian.org
Sun Aug 20 03:14:35 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 6d4de09de17f2c4fa0c8038be97b32c0c707ae1e
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Jul 5 08:18:19 2017 +0300

    Make sure gContextMenu.tabmixLinks is not null
---
 chrome/content/click/click.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/click/click.js b/chrome/content/click/click.js
index 7f13283..521b240 100644
--- a/chrome/content/click/click.js
+++ b/chrome/content/click/click.js
@@ -744,7 +744,7 @@ var TabmixContext = {
   },
 
   openMultipleLinks: function TMP_openMultipleLinks(check) {
-    let urls = Tabmix.isVersion(420) ? gContextMenu.tabmixLinks :
+    let urls = Tabmix.isVersion(420) ? gContextMenu.tabmixLinks || [] :
       Tabmix.ContextMenu.getSelectedLinks(window.content, check);
 
     if (!check && urls.length) {

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