mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-05 22:51:02 -04:00
Rename fit_image to fit_photo for consistency.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user