diff options
author | Andrew Dolgov <[email protected]> | 2018-01-25 18:20:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-01-25 18:20:37 +0300 |
commit | f76c411e47f07c8f00327996c66e652c664678d2 (patch) | |
tree | a4f7e51c70fe3f823e5d05c68a5bc1ab8a65b78b /read.html | |
parent | 91c67aba77da85754f0f12664825c0261244a3b4 (diff) |
fix previous
Diffstat (limited to 'read.html')
-rw-r--r-- | read.html | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -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); |