Content deleted Content added
comment out search/replace line |
add filter back in |
||
Line 7:
{
//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()(function(){return this.nodeType === 3; });
//Only process if there's something there to process
Line 13:
{
// replace the character
//reinsert the updated string back into the DOM
|