| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 {% extends "frame.tmpl" %} | 1 {% extends "frame.tmpl" %} |
| 2 | 2 |
| 3 {% block body %} | 3 {% block body %} |
| 4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
| 5 function frame_url(parent_location) | 5 function frame_url(parent_location) |
| 6 { | 6 { |
| 7 return parent_location.hash.substring(1); | 7 return parent_location.origin + parent_location.hash.substring(1); |
| 8 } | 8 } |
| 9 </script> | 9 </script> |
| 10 {% endblock %} | 10 {% endblock %} |
| OLD | NEW |