diff options
author | Andrew Dolgov <[email protected]> | 2020-04-21 10:51:19 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-04-21 10:51:19 +0300 |
commit | dcc41c8200af4ed95c281a604c33c631ca5ff01b (patch) | |
tree | 84a4000ce692aa26f2731f5e50458b4fc49382d5 /js/dict.js | |
parent | d7b02e140e628fcb0ba838925ff0ad4237dbb6cd (diff) |
rework reader to use global Reader object
various theme-related fixes
Diffstat (limited to 'js/dict.js')
-rw-r--r-- | js/dict.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); }); } |