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

Content deleted Content added
remove filter stuff
var newText = currentText.text().replace(/ – .*?$/g,' – ');
Line 13:
{
// replace the character
var newText = currentText.text().replace(/ – .*?$/g,' – .*?$');
//reinsert the updated string back into the DOM