Skip to content

Commit

Permalink
fix auto select first tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Oct 11, 2024
1 parent 8f0ff77 commit e997f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Theme/Backend/asset-view.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</ul>
</div>
<div class="tab-content">
<input type="radio" id="c-tab-1" name="tabular-2"<?= $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
<input type="radio" id="c-tab-1" name="tabular-2"<?= empty($this->request->uri->fragment) || $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
<div class="tab">
<div class="row">
<div class="col-xs-12 col-md-6">
Expand Down

0 comments on commit e997f19

Please sign in to comment.