summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
Diffstat (limited to 'read.html')
-rw-r--r--read.html28
1 files changed, 0 insertions, 28 deletions
diff --git a/read.html b/read.html
index e666925..327a179 100644
--- a/read.html
+++ b/read.html
@@ -619,34 +619,6 @@
}
};
-
- $("#reader iframe")[0].contentWindow.ontouchend = function(event) {
- toggle_ui();
- };
-
- /*$("#reader iframe")[0].contentWindow.onmouseup = function(event) {
-
- if (!navigator.onLine) return;
-
- var wnd = this;
- var sel = wnd.getSelection().toString().trim();
-
- if (sel.match(/^\w+$/)) {
-
- $.post("backend.php", {op: 'define', word: sel}, function(data) {
- if (data) {
-
- wnd.getSelection().removeAllRanges();
-
- $(".dict_result").html(data.result.join("<br/>"));
-
- $("#dict-modal").modal('show');
-
- }
- });
- }
- };*/
-
});
book.on("renderer:keydown", hotkey_handler);