1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

Demo UI updates

This commit is contained in:
Fred Chasen 2013-12-30 13:36:07 -08:00
parent 2126099ccd
commit ac15425092
4 changed files with 145 additions and 48 deletions

View file

@ -5,7 +5,7 @@ EPUBJS.Hooks.register("beforeChapterDisplay").highlight = function(callback, ren
var s = document.createElement("style");
s.innerHTML =".highlight { background: yellow; font-weight: normal; }";
renderer.doc.body.appendChild(s);
renderer.doc.head.appendChild(s);
if(callback) callback();