diff options
author | Andrew Dolgov <[email protected]> | 2020-09-13 10:38:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-13 10:38:41 +0300 |
commit | d8af168efb94aa9a4fa429195af1b80aaa28902f (patch) | |
tree | 6e741d54de61168e8832aba72165f34907715738 /js/dict.js | |
parent | 0e5192a7cbd52663091f6093b2728b7779320dcf (diff) |
if in app, hide actionbar when dictionary modal is shown
Diffstat (limited to 'js/dict.js')
-rw-r--r-- | js/dict.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,6 +10,9 @@ $(document).ready(function() { if (sel.match(/^\w+$/)) { Reader.lookupWord(sel, function() { + if (typeof EpubeApp != "undefined") + EpubeApp.showActionBar(false); + getSelection().removeAllRanges(); }); } |