diff --git a/web/themes/asc_bootstrap/js/scripts.js b/web/themes/asc_bootstrap/js/scripts.js index e75f2461032702989ebf92fbe85e4f930b593190..6e0f236a8c72457ba6fbbe3c98cbcd0bf7942f79 100644 --- a/web/themes/asc_bootstrap/js/scripts.js +++ b/web/themes/asc_bootstrap/js/scripts.js @@ -1,3 +1,9 @@ +jQuery(window).bind("pageshow", function(event) { + if (event.originalEvent.persisted) { + window.location.reload() + } +}); + jQuery(document).ready(function(){ //activates lightbox effect on gallery content type