updated some fixes for the demo
[myslice.git] / plugins / tabs / static / js / tabs.js
index b5b1cd0..3a4e3e5 100644 (file)
@@ -2,7 +2,7 @@
 
     $.fn.Tabs = function( method ) {
 
-        $('a[data-toggle="tab"]').on('shown', function (e) {
+        $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
           // find the plugin object inside the tab content referenced by the current tabs
           $('.plugin', $($(e.target).attr('href'))).trigger('show');
         });