Skip to content

Commit

Permalink
Merge pull request #88 from chrisabrams/master
Browse files Browse the repository at this point in the history
Added callback() for ajax request
  • Loading branch information
scaron committed Mar 7, 2012
2 parents 0e0aee6 + 39f7783 commit 635456e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/jquery.prettyPhoto.js
Expand Up @@ -10,6 +10,7 @@
$.fn.prettyPhoto = function(pp_settings) {
pp_settings = jQuery.extend({
animation_speed: 'fast', /* fast/slow/normal */
ajaxcallback: function() {},
slideshow: 5000, /* false OR interval time in ms */
autoplay_slideshow: false, /* true/false */
opacity: 0.80, /* Value between 0 and 1 */
Expand Down Expand Up @@ -538,6 +539,7 @@
});

_insert_gallery();
pp_settings.ajaxcallback();
};

/**
Expand Down

0 comments on commit 635456e

Please sign in to comment.