diff options
| author | Stephen Blott | 2016-04-25 06:50:54 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-25 06:55:34 +0100 |
| commit | ad9fe3ed81d01e1a164ecc1c0efa21daebdf0276 (patch) | |
| tree | 4b0dbb303e1bce3180d1f41253e43d9c9e5324d8 | |
| parent | 166efcbda9b1e9c32378b3226f8054f4f7109c22 (diff) | |
| download | vimium-ad9fe3ed81d01e1a164ecc1c0efa21daebdf0276.tar.bz2 | |
Make zoom-in/out images clickable.
Make zoomable images clickable: e.g. http://i.imgur.com/LdCeLlk.jpg/.
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 7153338b..56a3d75e 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -623,6 +623,8 @@ LocalHints = isClickable ||= if element == document.body and windowIsFocused() and Scroller.isScrollableElement element reason = "Scroll." + when "img" + isClickable ||= element.style.cursor in ["zoom-in", "zoom-out"] when "div", "ol", "ul" isClickable ||= if element.clientHeight < element.scrollHeight and Scroller.isScrollableElement element |
