scratch
/vendor/php-ffmpeg/php-ffmpeg/docs/source/API/API/js/permalink.js |
---|
@@ -0,0 +1,17 @@ |
jQuery(document).ready( |
function () { |
var hash = window.location.hash.replace(/^#/, ''); |
if (hash) { |
jQuery('#main-frame').attr('src', hash); |
if (history.pushState) { |
history.pushState( |
'', |
document.title, |
window.location.pathname + window.location.search |
); |
} |
} |
} |
); |