summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormamouneyya <mamoun.diraneyya@gmail.com>2011-03-26 13:15:12 +0200
committermamouneyya <mamoun.diraneyya@gmail.com>2011-03-26 13:15:12 +0200
commit9c784a740a6fe5849c465e0ebd2e1a197d281bf9 (patch)
tree312cbe8b1a1b1a499521e5cdd6045770efeda5e0 /lib
parent5a966e40831da1d113b126dafb9a2112b637211b (diff)
parente4d4a89a1bd54164fb62d95ac62a44957d124e68 (diff)
Merge remote-tracking branch 'gallery3/master'
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.show_full_size.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.show_full_size.js b/lib/gallery.show_full_size.js
index 531d2a3a..0baee882 100644
--- a/lib/gallery.show_full_size.js
+++ b/lib/gallery.show_full_size.js
@@ -20,7 +20,7 @@
image_size = $.gallery_auto_fit_window(image_width, image_height);
} else {
image_size = {
- top: Math.round((height - image_height) / 2),
+ top: 12,
left: Math.round((width - image_width) / 2),
width: Math.round(image_width),
height: Math.round(image_height)