added proper embed parameter support, fixes #116

This commit is contained in:
Peter 'Pita' Martischka 2011-08-23 18:36:38 +01:00
parent f571ed3554
commit 7b8d48467f
3 changed files with 11 additions and 11 deletions

View file

@ -271,7 +271,7 @@
<!-- termporary place holder-->
<a id = "returnbutton">Return to pad</a>
<script>
$("#returnbutton").attr("href", document.location.href.substring(0,document.location.href.lastIndexOf('/timeslider')));
$("#returnbutton").attr("href", document.referrer);
</script>
</div>