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

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

Loading…
Cancel
Save