HomePhabricator

Restore lightbox behavior for thumbnailed images

Description

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:33 PM
Differential Revision
D19188: Restore lightbox behavior for thumbnailed images
Parents
rPc6a042b59acf: Correct line highlighting behavior in Diffusion
Branches
Unknown
Tags
Unknown
Tasks
T13099: Plans: 2018 Week 10 Bonus Content
Build Status
Buildable 19775
Build 26787: Run Core Tests