summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-06-24 09:24:51 +0300
committerAndrew Dolgov <[email protected]>2019-06-24 09:24:51 +0300
commit337bd2bdf525f4c6d783faacaec4f4189daf1d57 (patch)
treeb59111ff9dda2a45b30dda42f31805f753bd6448 /js/reader.js
parent6bbce144df1e35a4844afbbf10735ddecbe81819 (diff)
add basic wiktionary support
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js
index cfb16a8..537835a 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -18,7 +18,7 @@ $(document).ready(function() {
const sel = getSelection().toString().trim();
- if (!sel.match(/^\w+$/)) {
+ if (sel.match(/^$/)) {
parent.toggle_fullscreen();
}
});