diff options
Diffstat (limited to 'read.html')
-rw-r--r-- | read.html | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -375,7 +375,10 @@ localforage.getItem("epube.theme").then(function(theme) { var baseUrl = window.location.href.match(/^.*\//)[0]; - if (!theme) theme = 'default'; + if (!theme) + theme = 'default'; + else + theme = theme.replace("/", ""); $(book.renderer.doc.head) .append($("<link rel='stylesheet' id='theme_css' type='text/css'>") |