Currently, I am working on setting up two basic tabs and panels. When the page loads, the content (Page 1) in the panel does not display, although clicking on the second tab shows the correct content (Page 2). Interestingly, when I go back to the first tab, it displays the content as expected (Page 1).
<ul class="nav nav-tabs">
<li class="active"><a href="#panel1" data-toggle="tab">Page 1</a></li>
<li><a href="#panel2" data-toggle="tab">Page 2</a></li>
</ul>
<div class="tab-content">
<div id="panel1" class="tab-pane">
Page 1
</div>
<div id="panel2" class="tab-pane">
Page 2
</div>
</div>
I'm unsure if I might be overlooking something important. Can anyone point me in the right direction?