1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

fixed endnotes

This commit is contained in:
fchasen 2014-02-26 12:14:56 -08:00
parent 4cf8bbc161
commit fc50b6ed51
5 changed files with 9 additions and 9 deletions

View file

@ -57,8 +57,8 @@ EPUBJS.Hooks.register("beforeChapterDisplay").endnotes = function(callback, rend
pop_content.appendChild(txt);
pop_content.setAttribute("class", "pop_content");
chapter.bodyEl.appendChild(popups[id]);
renderer.render.document.body.appendChild(popups[id]);
//-- TODO: will these leak memory? - Fred
popups[id].addEventListener("mouseover", onPop, false);