From 46ace840e0fdc03e79f864ad4b47c7057237ac6e Mon Sep 17 00:00:00 2001 From: Sachin Date: Tue, 31 May 2016 09:10:24 +0530 Subject: [PATCH] Thumbanil plugin updates.. --- app/lightgallery/js/lg-thumbnail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lightgallery/js/lg-thumbnail.js b/app/lightgallery/js/lg-thumbnail.js index cadd9d2..2ba2d1a 100644 --- a/app/lightgallery/js/lg-thumbnail.js +++ b/app/lightgallery/js/lg-thumbnail.js @@ -179,12 +179,12 @@ thumbImg = thumb; } - var _thumbWidth = _this.core.s.thumbWidth + 'px'; + var _thumbWidth = _this.core.s.thumbWidth - (_this.core.s.thumbRightBorder * 2) + 'px'; var _thumbHeight = 'auto'; if (_this.core.s.thumbWidth < _this.core.s.thumbContHeight) { _thumbWidth = 'auto'; - _thumbHeight = _this.core.s.thumbContHeight + 'px'; + _thumbHeight = _this.core.s.thumbContHeight - (_this.core.s.thumbRightBorder * 2) + 'px'; } thumbList += '
';