summaryrefslogtreecommitdiff
path: root/lib/gallery.show_full_size.js
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2011-04-22 16:54:55 +0000
committerNathan Kinkade <nath@nkinka.de>2011-04-22 16:54:55 +0000
commit1f7c1f18c651c58048e92d615c71ac0fe6691c10 (patch)
tree4527c4bc08000a07c180cd1fe81792d71195d58b /lib/gallery.show_full_size.js
parentde6f3fce9110b777d61dec97f2a3a61d887a5ccd (diff)
parent55da59c942c0f7171b515f0718fea8506ed4b116 (diff)
Merge branch 'master' of git://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)