summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-13 10:38:41 +0300
committerAndrew Dolgov <[email protected]>2020-09-13 10:38:41 +0300
commitd8af168efb94aa9a4fa429195af1b80aaa28902f (patch)
tree6e741d54de61168e8832aba72165f34907715738 /js
parent0e5192a7cbd52663091f6093b2728b7779320dcf (diff)
if in app, hide actionbar when dictionary modal is shown
Diffstat (limited to 'js')
-rw-r--r--js/dict.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/dict.js b/js/dict.js
index 35e7223..c42a65c 100644
--- a/js/dict.js
+++ b/js/dict.js
@@ -10,6 +10,9 @@ $(document).ready(function() {
if (sel.match(/^\w+$/)) {
Reader.lookupWord(sel, function() {
+ if (typeof EpubeApp != "undefined")
+ EpubeApp.showActionBar(false);
+
getSelection().removeAllRanges();
});
}