Remove unused condition in gallery
Merge pull request #3675 from guardian/fix-gallery

Remove unused condition in gallery