Skip to content

Commit

Permalink
Merge pull request #2908 from samvera/uv_loading
Browse files Browse the repository at this point in the history
Force loading of UV
  • Loading branch information
elrayle authored Apr 12, 2018
2 parents f3543cb + 3f2f034 commit fe87fe3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/hyrax/turbolinks_events.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
// See https://github.com/rails/jquery-ujs/issues/456
$(document).on('turbolinks:load', function() {
$.rails.refreshCSRFTokens();
// Explicitly set flag to false to force loading of UV
// See https://github.com/samvera/hyrax/issues/2906
window.embedScriptIncluded = false;
});

0 comments on commit fe87fe3

Please sign in to comment.