From 37197e84715378667f43054f9a0c7553c0a98c31 Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 26 Oct 2015 19:11:32 +0100 Subject: [PATCH] width of HTML document --- src/js/lightbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/lightbox.js b/src/js/lightbox.js index e4689f4c..1a70a2f1 100644 --- a/src/js/lightbox.js +++ b/src/js/lightbox.js @@ -272,7 +272,7 @@ // Stretch overlay to fit the viewport Lightbox.prototype.sizeOverlay = function() { this.$overlay - .width($(window).width()) + .width($(document).width()) .height($(document).height()); };