summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/reader.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/reader.js b/js/reader.js
index 08c5628..55d683d 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -248,6 +248,10 @@ const Reader = {
.off("click")
.on("click", function(evt) {
localforage.setItem("epube.enable-hyphens", evt.target.checked);
+
+ if (confirm("Toggling hyphens requires page reload. Reload now?")) {
+ window.location.reload();
+ }
});
});