From d8af168efb94aa9a4fa429195af1b80aaa28902f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 13 Sep 2020 10:38:41 +0300 Subject: if in app, hide actionbar when dictionary modal is shown --- js/dict.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js') 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(); }); } -- cgit v1.2.3