diff options
Diffstat (limited to 'js/dict.js')
-rw-r--r-- | js/dict.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ $(document).ready(function() { const sel = getSelection().toString().trim(); - if (sel.match(/^\w+$/)) { + if (sel.match(/^[\w]+$/)) { Reader.lookupWord(sel, function() { if (typeof EpubeApp != "undefined") EpubeApp.showActionBar(false); |