[Pkg-mozext-commits] [compactheader] 150/441: New version 1.1.8: Make compatible with Mailtweak add-on based on CustomizeHeaderToolbar 0.3.1

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:28:53 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 25a6c35f27a1b8196e4d59ed83381f1b5536675c
Author: joachim.herb <none at none>
Date:   Sat Mar 27 16:35:02 2010 +0000

    New version 1.1.8:
    Make compatible with Mailtweak add-on based on CustomizeHeaderToolbar 0.3.1
---
 chrome/CompactHeader/content/compactHeaderOverlay.js | 4 ++--
 install.rdf                                          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/CompactHeader/content/compactHeaderOverlay.js b/chrome/CompactHeader/content/compactHeaderOverlay.js
index d800116..e19b3fb 100644
--- a/chrome/CompactHeader/content/compactHeaderOverlay.js
+++ b/chrome/CompactHeader/content/compactHeaderOverlay.js
@@ -767,8 +767,8 @@ org.mozdev.compactHeader.pane = function() {
   }
   
   function removeClass(el, strClass) {
-    var str = new RegExp(strClass, 'g');
-    el.className = el.className.replace(str, '');
+    var str = new RegExp('(\\s|^)'+strClass+'(\\s|$)', 'g');
+    el.className = el.className.replace(str, ' ');
   }
   
   function CoheCopyWebsiteAddress(websiteAddressNode)
diff --git a/install.rdf b/install.rdf
index 0268989..946ad6c 100644
--- a/install.rdf
+++ b/install.rdf
@@ -6,7 +6,7 @@
 
 	<RDF:Description about="urn:mozilla:install-manifest">
 		<em:name>CompactHeader</em:name>
-		<em:version>1.1.7</em:version>
+		<em:version>1.1.8</em:version>
 		<em:description>Add ability to reduce header size to one or two lines. Linkify subjects in RSS feeds.</em:description>
 		<em:creator>Joachim Herb</em:creator>
 		<em:contributor>Zamula</em:contributor>

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