> var newLink = decorateLink(u); > if(newLink.length){
So you put an alert right after that to be sure that newLink.length was not zero? Can you post a link to a test page?
> var newLink = decorateLink(u); > if(newLink.length){
So you put an alert right after that to be sure that newLink.length was not zero? Can you post a link to a test page?