User:The Transhumanist/ViewAnnotationToggler.js: Difference between revisions

Content deleted Content added
var currentText = $(el);
revert to base script
Line 3:
{
//first, grab the text from the current li element; we want only the top level text, so filter out all of the other stuff.
// var currentText = $(el).contents().filter(function(){return this.nodeType === 3; });
 
//Don't bother processing if there's nothing to process