diff --git a/cps/static/js/reading/epub.js b/cps/static/js/reading/epub.js index 8908a3263..21663a6ab 100644 --- a/cps/static/js/reading/epub.js +++ b/cps/static/js/reading/epub.js @@ -123,11 +123,7 @@ var reader; reader.book.ready.then(() => { const savedFontSize = localStorage.getItem("calibre.reader.fontSize"); if (savedFontSize) { - const fontSizeFader = document.getElementById("fontSizeFader"); - if (fontSizeFader) { - fontSizeFader.value = savedFontSize; - reader.rendition.themes.fontSize(`${savedFontSize}%`); - } + reader.rendition.themes.fontSize(`${savedFontSize}%`); } }); })(); diff --git a/cps/templates/read.html b/cps/templates/read.html index 28f931935..f31b97141 100644 --- a/cps/templates/read.html +++ b/cps/templates/read.html @@ -158,16 +158,40 @@