summaryrefslogtreecommitdiff
path: root/lib/gallery.common.js
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-09 23:10:02 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-09 23:10:02 -0600
commit24e29b0b68c364239bf79d7224e1f3dd3ac2c8a1 (patch)
tree8a3dc74c61ff680adfdfd0a7d8b459656681c624 /lib/gallery.common.js
parent69b7b1803a73090429efd09299ea15d73102f34c (diff)
Rename fit_image to fit_photo for consistency.
Diffstat (limited to 'lib/gallery.common.js')
-rw-r--r--lib/gallery.common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.common.js b/lib/gallery.common.js
index 8a769327..4db316c0 100644
--- a/lib/gallery.common.js
+++ b/lib/gallery.common.js
@@ -57,7 +57,7 @@
* Reduce the width of an image if it's wider than its parent container
* @param elementID The image container's ID
*/
- $.fn.gallery_fit_image = function() {
+ $.fn.gallery_fit_photo = function() {
var container_width = $(this).width();
var photo = $(this).gallery_get_photo();
var photo_width = photo.width();