diff options
| author | mrmr1993 | 2017-11-02 18:32:58 +0000 |
|---|---|---|
| committer | mrmr1993 | 2017-11-02 18:32:58 +0000 |
| commit | 66cd3b27c2183bc1cc2dcc1aac82d7c12ffeff54 (patch) | |
| tree | 7b3bb922916e246fbeeb71c53d6263f996ead4bc | |
| parent | f10dfa843c60266504469fb5ea4d6222b051364b (diff) | |
| download | vimium-66cd3b27c2183bc1cc2dcc1aac82d7c12ffeff54.tar.bz2 | |
Compare with lower case strings when using toLowerCase
Credit to @gdh1995 for catching this.
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 89cf29f1..9145454a 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -663,7 +663,7 @@ LocalHints = "button" , "tab" , "link", "checkbox", "menuitem", "menuitemcheckbox", "menuitemradio" ] or (contentEditable = element.getAttribute "contentEditable") and - contentEditable.toLowerCase() in ["", "contentEditable", "true"] + contentEditable.toLowerCase() in ["", "contenteditable", "true"] isClickable = true # Check for jsaction event listeners on the element. |
