summaryrefslogtreecommitdiff
path: root/lib/gallery.show_full_size.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-03-27 11:25:27 -0700
committerBharat Mediratta <bharat@menalto.com>2011-03-27 11:25:27 -0700
commit65825c572a0db24036c855de01714c613a979550 (patch)
tree5b47f305074f4f7c065d8726dc3581bcddb1b5a0 /lib/gallery.show_full_size.js
parentc791ae96d5bb28f39b26a0e556e10e636f97436c (diff)
parent12e81d081d412a052860f04902b28da4a460c3fa (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'lib/gallery.show_full_size.js')
-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)