File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ <h4><a href="https://github.com/Kidel/Netkit-Lab-Generator" target="_blank">http
4545 < div class ="col-xs-1 ">
4646 <!-- Nav tabs -->
4747 < ul class ="nav nav-tabs tabs-left ">
48- < li id ="tab-home " class ="tab-label active "> < a href ="#home " data-toggle ="tab " onclick ="toggle_tab(this) "> Home</ a > </ li >
49- < li id ="tab-graph " class ="tab-label "> < a href ="#graph " data-toggle ="tab " onclick ="toggle_tab(this) "> Graph</ a > </ li >
48+ < li id ="tab-home " class ="tab-label active "> < a href ="#home " data-toggle ="tab " onclick ="toggle_tab(event, this) "> Home</ a > </ li >
49+ < li id ="tab-graph " class ="tab-label "> < a href ="#graph " data-toggle ="tab " onclick ="toggle_tab(event, this) "> Graph</ a > </ li >
5050 </ ul >
5151 </ div >
5252 < div class ="col-xs-10 ">
Original file line number Diff line number Diff line change 1- function toggle_tab ( elem ) {
1+ function toggle_tab ( event , elem ) {
22 event . preventDefault ( ) ;
33 var elems = document . getElementsByClassName ( "tab-pane" ) ;
44 for ( var j in elems ) {
You can’t perform that action at this time.
0 commit comments