Skip to content

Commit

Permalink
Update templates/welcome.html.j2
Browse files Browse the repository at this point in the history
Co-authored-by: Helena <[email protected]>
  • Loading branch information
mira-miracoli and hexylena authored Nov 23, 2023
1 parent 4254bd8 commit 54a4c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/welcome.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
onload="this.style.position='static'; this.style.visibility='visible';"></iframe>
<script type="text/javascript">
var pseudo_rand = parseInt(Date.now() / 1000 / 60 / 10);
{% if iframe is defined %}
{% if galaxy_themes_use_iframe is defined %}
document.getElementById('center-iframe').src = '{{ galaxy_themes_welcome_url_prefix }}{{ subdomain.name }}?nonce=' + pseudo_rand + '#';
{% else %}
document.getElementById('center-iframe').src = '{{ galaxy_themes_default_welcome }}?nonce=' + pseudo_rand + '#';
Expand Down

0 comments on commit 54a4c3a

Please sign in to comment.