[BUG] Mid clicking the image preview in post doesn't lead to image in new tab

MXXIV·2/15/2015, 10:45:31 PM·5 votes·2,703 views

So you guys didn't like the normal markdown images and decided to make your own embedded image implementation. As always, it's kinda flawed. The image is a link image, but it's URL is fake and is overriden by javascript. This means that when I click any image with me middle button, I don't get to see that image in new tab.

Please fix this.

Technical note on how to fix this: Give the images the real URL, not your fake one. On click, check for button and only trigger the popup (and cancel the event) when it's left button.

3 Comments

RiotRiot Catzpaw2/24/2015, 12:23:15 AM1 votes

Adding this to the queue, thanks!

EvilMerodach2/24/2015, 12:52:47 AM1 votes

If I understand it right, it has to do with the "Facechecking the brush is dangerous, and so is facechecking the web..." warning that pops up before you actually go to the link. If you middleclick, it would normally skip the warning. So other than skip the warning, it redirects back to the page you're on...and..just opens a second copy of the thread. Not 100% sure that's a bug. I do find it kind of annoying though. But it might at least partly be there on purpose so you don't skip the warning/not see where the link is actually sending you before you go to it.