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

David Prévot taffit at moszumanska.debian.org
Sun Mar 22 15:08:51 UTC 2015


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

taffit pushed a commit to branch master
in repository firexpath.

commit 5d409b3e84dd949bb7ad69a21c91fb44192e838b
Author: pierre.tholence at gmail.com <pierre.tholence at gmail.com@dfa30af4-1965-11df-8728-136f2c2ca76e>
Date:   Sun Sep 19 14:19:48 2010 +0000

    fixed another bug with the css selector generation code
    
    git-svn-id: http://firepath.googlecode.com/svn/trunk@19 dfa30af4-1965-11df-8728-136f2c2ca76e
---
 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