User:Opencooper/showKanji-dev.js: Difference between revisions

Content deleted Content added
fix looping
fix dumb mistake
Line 392:
var ruby = $(childNodes[i]) // convert back to JQuery for convenience
ruby.children("rp").remove();
var kana += ruby.children("rt").detach().text();
var kanji += ruby.text();
} else if (childNodes[i].nodeType == 3) { // "#text"
kanji += childNodes[i].nodeValue;