Fixed dynmap iframe and the info block on location pages

doc_update
Joey Hines 2019-10-03 10:51:04 -05:00
parent a59cfc8632
commit f723aaa40b
1 changed files with 5 additions and 2 deletions

View File

@ -23,9 +23,12 @@
{% if loc.tunnel %}
<p>Tunnel: {{ loc.tunnel.tunnel_str }}</p>
{% endif %}
<hr class="my-4">
{% if loc.dynmap %}
{% block info %}{% endblock %} <iframe id="frame" style="visibility: hidden" onload="this.style.visibility = 'visible'" src="{{ loc.dynmap_url }}" width="100%" height="500">
{% block info %}{% endblock %}
{% if loc.dynmap_url %}
<iframe id="frame" style="visibility: hidden" onload="this.style.visibility = 'visible'" src="{{ loc.dynmap_url }}" width="100%" height="500">
Your browser does not support iframes.
</iframe>
{% endif %}