From ad9fe3ed81d01e1a164ecc1c0efa21daebdf0276 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Mon, 25 Apr 2016 06:50:54 +0100 Subject: Make zoom-in/out images clickable. Make zoomable images clickable: e.g. http://i.imgur.com/LdCeLlk.jpg/. --- content_scripts/link_hints.coffee | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3