Skip to content

Commit

Permalink
Make visual model the active tab
Browse files Browse the repository at this point in the history
Avoids the mermaid error, so kind of fixes #344
  • Loading branch information
ralfhandl committed Sep 15, 2022
1 parent 42b8cfb commit fb42473
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/api-explorer/src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@
<li class="nav-item" role="presentation">
<button
type="button"
class="nav-link active"
class="nav-link"
id="csdl-tab"
data-bs-toggle="tab"
data-bs-target="#csdl"
role="tab"
aria-controls="csdl"
aria-selected="true"
aria-selected="false"
>
CSDL
</button>
Expand All @@ -89,21 +89,21 @@
<li class="nav-item" role="presentation">
<button
type="button"
class="nav-link"
class="nav-link active"
id="visual-editor-gui-tab"
data-bs-toggle="tab"
data-bs-target="#visual-editor-gui"
role="tab"
aria-controls="visual-editor-gui"
aria-selected="false"
aria-selected="true"
>
Visualize
</button>
</li>
</ul>
<div class="tab-content" id="schemaViewContent">
<div
class="tab-pane fade show active"
class="tab-pane fade"
id="csdl"
role="tabpanel"
aria-labelledby="csdl-tab"
Expand All @@ -121,7 +121,7 @@
</div>
</div>
<div
class="tab-pane fade"
class="tab-pane fade show active"
id="visual-editor-gui"
role="tabpanel"
aria-labelledby="swagger-ui-tab"
Expand Down

0 comments on commit fb42473

Please sign in to comment.