diff options
author | Andrew Dolgov <[email protected]> | 2019-03-12 14:50:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-12 14:50:37 +0300 |
commit | 0d01e871012b85936a9a5d64082dcf551499e2b0 (patch) | |
tree | dffa1ce21d88e197b583359b82edc35a9c02857f /js/read.js | |
parent | 166991749054991b19285e58508f4144cc993f2b (diff) |
keep ui checkbox: prevent duplicate click handlers
Diffstat (limited to 'js/read.js')
-rw-r--r-- | js/read.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -287,6 +287,7 @@ function init_reader() { localforage.getItem("epube.keep-ui-visible").then(function(keep) { $(".keep_ui_checkbox") .attr("checked", keep) + .off("click") .on("click", function(evt) { localforage.setItem("epube.keep-ui-visible", evt.target.checked); }); |