summaryrefslogtreecommitdiff
path: root/js/dict.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-04-21 10:51:19 +0300
committerAndrew Dolgov <[email protected]>2020-04-21 10:51:19 +0300
commitdcc41c8200af4ed95c281a604c33c631ca5ff01b (patch)
tree84a4000ce692aa26f2731f5e50458b4fc49382d5 /js/dict.js
parentd7b02e140e628fcb0ba838925ff0ad4237dbb6cd (diff)
rework reader to use global Reader object
various theme-related fixes
Diffstat (limited to 'js/dict.js')
-rw-r--r--js/dict.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dict.js b/js/dict.js
index 88bd154..f8336d2 100644
--- a/js/dict.js
+++ b/js/dict.js
@@ -7,7 +7,7 @@ $(document).ready(function() {
const sel = getSelection().toString().trim();
if (sel.match(/^\w+$/)) {
- parent.dict_lookup(sel, function() {
+ parent.Reader.lookupWord(sel, function() {
getSelection().removeAllRanges();
});
}