[Pkg-mozext-commits] [firexpath] 15/18: fixed another bug with the css selector generation code

David Prévot taffit at moszumanska.debian.org
Sat Mar 26 19:35:48 UTC 2016


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

taffit pushed a commit to tag FirePath-0.9.5
in repository firexpath.

commit 1387bd134c95184cd8729f6fc8ea0920ec4da942
Author: pierre.tholence <pierre.tholence at gmail.com>
Date:   Sun Sep 19 14:19:48 2010 +0000

    fixed another bug with the css selector generation code
---
 content/FirePathPanel.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/FirePathPanel.js b/content/FirePathPanel.js
index 3a41df4..95f9a9f 100644
--- a/content/FirePathPanel.js
+++ b/content/FirePathPanel.js
@@ -1071,10 +1071,10 @@ FBL.getCssSelectorFromNode = function (node, context) {
 			} else {
 				str = node.localName.toLowerCase();
 			}
+			
+			result = str + (result? '>' + result: ''); 
 		}
 		
-		result = str + (result? '>' + result: ''); 
-		
 		if(node instanceof Attr) {
 			node = node.ownerElement;
 		} else {

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



More information about the Pkg-mozext-commits mailing list