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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user