Skip to content

Commit

Permalink
closes #18 upgrade to turbolinks v5
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrederickson committed Mar 1, 2017
1 parent 87a96a6 commit 57aa15b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/assets/javascripts/concerto_iframe/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ function initializeIframeHandlers() {
resizePreview();
}

$(document).ready(initializeIframeHandlers);
$(document).on('page:change', initializeIframeHandlers);
$(document).on('turbolinks:load', initializeIframeHandlers);

0 comments on commit 57aa15b

Please sign in to comment.