[Pkg-mozext-commits] [tabmixplus] 52/61: Clicking on the icon to mute then unmute (or unmute then mute) without moving the mouse off the icon can trigger double click event on the tab, and close it (Changeset c0f3653f204e)

David Prévot taffit at moszumanska.debian.org
Fri Aug 28 19:09:22 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 6259c7f730d3534f29ab4804499028e2d59c6dae
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Aug 18 21:35:34 2015 +0300

    Clicking on the icon to mute then unmute (or unmute then mute) without moving the mouse off the icon can trigger double click event on the tab, and close it (Changeset c0f3653f204e)
---
 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 bd1a7a9..617a2e1 100644
--- a/chrome/content/click/click.js
+++ b/chrome/content/click/click.js
@@ -115,7 +115,7 @@ var TabmixTabClickOptions = {
     var target = aEvent.originalTarget;
     var anonid = target.getAttribute("anonid");
     // don't do anything if user left click on tab or tabbar button
-    if (anonid == "tmp-close-button" || anonid == "soundplaying-icon" ||
+    if (anonid == "tmp-close-button" || aEvent.target._overPlayingIcon ||
         target.localName == "toolbarbutton") {
       return;
     }

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