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 edd4a55 commit 0f4c8bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,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">
<label for="iSearchAcc"><?= $this->getHtml('Search'); ?></label>
<input type="text" id="iSearchAcc" name="receiver-search" data-action='[
Expand Down
2 changes: 1 addition & 1 deletion Theme/Backend/profile-view.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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">
Expand Down

0 comments on commit 0f4c8bf

Please sign in to comment.