summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-01-12 18:00:55 +0300
committerAndrew Dolgov <[email protected]>2024-01-12 18:00:55 +0300
commit900655618290291d0b1598ee84a02ec1306e7274 (patch)
treed70836cd0fb70d1e40cbc1673b70e9b2581c12ec /js
parent008e12288991a3547dd574c74280c898840a8010 (diff)
worker - ignore /assets/, bring back caecilia
Diffstat (limited to 'js')
-rw-r--r--js/reader_iframe.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/reader_iframe.js b/js/reader_iframe.js
index 6baf788..6a9a8e3 100644
--- a/js/reader_iframe.js
+++ b/js/reader_iframe.js
@@ -17,6 +17,11 @@ function enable_swipes() {
});
}
+if (typeof EpubeApp != "undefined") {
+ const localCss = $('<link type="text/css" rel="stylesheet" media="screen" href="/assets/android.css" />');
+ $("head").append(localCss);
+}
+
$(document).ready(function() {
Reader = parent.__get_reader();
App = parent.__get_app();