From c45b2bc4c23caa0db74bd9140047c1f46fd7e620 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 16 Jun 2011 21:02:49 +0200 Subject: [PATCH] Fix extra link area around images, like a boss. --- 4chan_x.user.js | 4 ++++ script.coffee | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index a8034e42a..d255a8686 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2661,6 +2661,10 @@ \ .filesize + br + a {\ float: left;\ + pointer-events: none;\ + }\ + img[md5], img[md5] + img {\ + pointer-events: all;\ }\ body.fitwidth img[md5] + img {\ max-width: 100%;\ diff --git a/script.coffee b/script.coffee index 556f51e93..1eb049b31 100644 --- a/script.coffee +++ b/script.coffee @@ -2023,6 +2023,10 @@ main = .filesize + br + a { float: left; + pointer-events: none; + } + img[md5], img[md5] + img { + pointer-events: all; } body.fitwidth img[md5] + img { max-width: 100%;