[Pkg-mozext-commits] [compactheader] 116/441: New version 1.0.2: Bugfix: button-menu fix

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:28:50 UTC 2015


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

taffit pushed a commit to branch master
in repository compactheader.

commit e94ff09b034a31108bf605907e2a3261d61ab66c
Author: joachim.herb <none at none>
Date:   Fri Dec 11 22:18:17 2009 +0000

    New version 1.0.2:
    Bugfix: button-menu fix
---
 chrome/CompactHeader/content/compactHeaderOverlay.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/CompactHeader/content/compactHeaderOverlay.js b/chrome/CompactHeader/content/compactHeaderOverlay.js
index d6b26df..8452022 100644
--- a/chrome/CompactHeader/content/compactHeaderOverlay.js
+++ b/chrome/CompactHeader/content/compactHeaderOverlay.js
@@ -384,7 +384,7 @@ org.mozdev.compactHeader.pane = function() {
           if (hdrButton.localName == "toolbaritem") {
             var subButtons = hdrButton.querySelectorAll(".toolbarbutton-1");
             for (var j=0; j<subButtons.length; j++) {
-              addClass(subButtons[j], "msgHeaderView-button");
+              addClass(subButtons[j], "msgHeaderView-button-out");
             }
           } else {
             if (hdrButton.type != "menu-button") {
@@ -565,7 +565,8 @@ org.mozdev.compactHeader.pane = function() {
   }
   
   function removeClass(el, strClass) {
-    el.className = el.className.replace(strClass, '');
+    var str = new RegExp(strClass, 'g');
+    el.className = el.className.replace(str, '');
   }
   
   function CoheCopyWebsiteAddress(websiteAddressNode)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/compactheader.git



More information about the Pkg-mozext-commits mailing list