Make text tab always available at default

pull/522/head
dgtlmoon 3 years ago
parent 9fe4f95990
commit 2620818ba7

@ -35,15 +35,15 @@
<a onclick="next_diff();">Jump</a>
</div>
{% if screenshot %}
<script type="text/javascript" src="{{url_for('static_content', group='js', filename='tabs.js')}}" defer></script>
<div class="tabs">
<ul>
<li class="tab" id="default-tab"><a href="#text">Text</a></li>
{% if screenshot %}
<li class="tab"><a href="#screenshot">Screenshot</a></li>
{% endif %}
</ul>
</div>
{% endif %}
<div id="diff-ui">
<div class="tab-pane-inner" id="text">

@ -6,15 +6,15 @@
<h1>Current - {{watch.last_checked|format_timestamp_timeago}}</h1>
</div>
{% if screenshot %}
<script type="text/javascript" src="{{url_for('static_content', group='js', filename='tabs.js')}}" defer></script>
<div class="tabs">
<ul>
<li class="tab" id="default-tab"><a href="#text">Text</a></li>
{% if screenshot %}
<li class="tab"><a href="#screenshot">Screenshot</a></li>
{% endif %}
</ul>
</div>
{% endif %}
<div id="diff-ui">
<div class="tab-pane-inner" id="text">

Loading…
Cancel
Save