Skip to content

Commit

Permalink
Merge pull request #707 from tf/resize-event
Browse files Browse the repository at this point in the history
Trigger event when slideshow is resized
  • Loading branch information
tf committed Feb 7, 2017
2 parents 2b2dbd6 + 4e05db3 commit 2afc821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/pageflow/slideshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ pageflow.Slideshow = function($el, configurations) {

this.triggerResizeHooks = function() {
currentPage.page('resize');
pageflow.events.trigger('resize');
};

$el.on('scrollerbumpup', _.bind(function(event) {
Expand Down

0 comments on commit 2afc821

Please sign in to comment.