From 9185e946ac588d3339ba57d67adca91a44a0db79 Mon Sep 17 00:00:00 2001 From: Isaac Bythewood Date: Thu, 4 Feb 2016 19:26:09 +0000 Subject: [PATCH] Fix height of lightbox --- pinry/static/js/lightbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinry/static/js/lightbox.js b/pinry/static/js/lightbox.js index 6f483e0..b588576 100644 --- a/pinry/static/js/lightbox.js +++ b/pinry/static/js/lightbox.js @@ -6,7 +6,7 @@ * It also has a nice parallax view mode where the top scrolls and the * background stays stationary. * Authors: Pinry Contributors - * Updated: Feb 26th, 2013 + * Updated: Feb 4th, 2016 * Require: jQuery, Pinry JavaScript Helpers */ @@ -61,7 +61,7 @@ $(window).load(function() { 'margin-left': -context.image.standard.width/2 }); if ($('.lightbox-wrapper').height()+140 > $(window).height()) - $('.lightbox-background').height($('.lightbox-wrapper').height()+140); + $('.lightbox-background').height($('.lightbox-wrapper').height()+160); box.click(function() { $(this).fadeOut(200);