We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bfa8b9 commit 419a0c7Copy full SHA for 419a0c7
templates/welcome.html.j2
@@ -28,12 +28,12 @@
28
onload="this.style.position='static'; this.style.visibility='visible';"></iframe>
29
<script type="text/javascript">
30
var pseudo_rand = parseInt(Date.now() / 1000 / 60 / 10);
31
- {% if galaxy_themes_use_iframe is defined %}
+ {% if galaxy_themes_use_iframe is defined | default(false) and subdomain %}
32
document.getElementById('center-iframe').src = '{{ galaxy_themes_welcome_url_prefix }}{{ subdomain.name }}?nonce=' + pseudo_rand + '#';
33
{% else %}
34
document.getElementById('center-iframe').src = '{{ galaxy_themes_default_welcome }}?nonce=' + pseudo_rand + '#';
35
{% endif %}
36
</script>
37
</body>
38
39
-</html>
+</html>
0 commit comments