Rename fit_image to fit_photo for consistency.

This commit is contained in:
Chad Kieffer
2009-08-09 23:10:02 -06:00
parent 69b7b1803a
commit 24e29b0b68
+1 -1
View File
@@ -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();