#330: replacing jquery ui tab init with bootstrap
authorNicholas Bollweg (Nick) <nick.bollweg@gmail.com>
Sun, 02 Mar 2014 20:27:47 -0500
changeset 2126 9d1bddc75d1f
parent 2125 824d8e847913
child 2127 9cc223f3d3d8
#330: replacing jquery ui tab init with bootstrap
playground/playground.js
--- a/playground/playground.js	Sun Mar 02 18:51:18 2014 +0100
+++ b/playground/playground.js	Sun Mar 02 20:27:47 2014 -0500
@@ -143,8 +143,7 @@
 
     var startTab = getParameterByName('startTab');
     if(startTab) {
-      // strip 'tab-' to get the tab's panel's ID
-      //$('#tabs').tabs('select', '#' + startTab.substr(4));
+      $('#' + startTab.slice(0, -1)).tab('show');
     }
 
     // wait for ajax if needed