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

reload via book object

This commit is contained in:
krushton 2013-02-18 15:51:32 -08:00
parent 3c7e267364
commit c8022a2030

View file

@ -138,7 +138,7 @@ FPR.app.init = (function($){
$(this).on("click", function() {
localStorage.setItem("fontSize", $(this).attr("value"));
//reload the page after selecting a new font
$("#area iframe")[0].contentDocument.location.reload(true);
Book.iframe.contentDocument.location.reload(true);
});
});