1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:57:59 +01:00

Fix search suggestion issues.

--HG--
extra : rebase_source : 4aeeb43dc214f7ae2e8275fb6190556eade78890
This commit is contained in:
Kris Maglione
2014-03-10 19:33:36 -07:00
parent 6dda37dfb9
commit 1c6026c4b9
2 changed files with 39 additions and 4 deletions

View File

@@ -305,6 +305,8 @@ var HintSession = Class("HintSession", CommandMode, {
return false;
let computedStyle = doc.defaultView.getComputedStyle(elem, null);
if (!computedStyle)
return false;
if (computedStyle.visibility != "visible" || computedStyle.display == "none")
return false;
return true;