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

Content deleted Content added
guess at variable creation syntax
No edit summary
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 = $contents()(function());
 
//Don't bother processing if there's nothing to process