Merge pull request #331 from bollwyvl/pg-permalink
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 03 Mar 2014 11:16:23 +0100
changeset 2127 9cc223f3d3d8
parent 2125 824d8e847913 (current diff)
parent 2126 9d1bddc75d1f (diff)
child 2128 1110d7143812
Merge pull request #331 from bollwyvl/pg-permalink

#330: replacing jquery ui tab init with bootstrap

This closes #330
--- a/playground/playground.js	Sun Mar 02 18:51:18 2014 +0100
+++ b/playground/playground.js	Mon Mar 03 11:16:23 2014 +0100
@@ -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