HomePhabricator

(stable) Restore lightbox behavior for thumbnailed images

Description

(stable) Restore lightbox behavior for thumbnailed images

Summary: Ref T13099. See https://discourse.phabricator-community.org/t/lightbox-not-working/1201. The Content-Security-Policy changes rewrote some of this code and the handling for "Download" links is incorrectly catching clicks on thumbnailed images.

Test Plan: Clicked a thumbnailed image, got a lightbox. Command-clicked a download link, still got link behavior instead of a lightbox.

Maniphest Tasks: T13099

Differential Revision: https://secure.phabricator.com/D19188

Details

Provenance
epriestleyAuthored on Mar 7 2018, 3:23 PM
epriestleyPushed on Mar 7 2018, 3:34 PM
Differential Revision
D19188: Restore lightbox behavior for thumbnailed images
Parents
rPdab0f84b670d: (stable) Correct line highlighting behavior in Diffusion
Branches
Unknown
Tags
Unknown
Tasks
T13099: Plans: 2018 Week 10 Bonus Content
Build Status
Buildable 19776
Build 26788: Run Core Tests