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

Content deleted Content added
fix dumb mistake
tweak
Line 408:
// Extra stuff just for fun
var definition = headword.parent().siblings("ol").children("li").first().text();
definition = definition.split('\n', 1)[0];
definition.replace(/\[[0-9]{1,2}\]/g, "");
$("#kanjiInfo").prop("title", definition);
}