typo & indented
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 27 Sep 2013 14:12:36 +0000 (16:12 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 27 Sep 2013 14:12:36 +0000 (16:12 +0200)
plugins/tabs/static/js/tabs.js

index 64c6921..75ce452 100644 (file)
@@ -1,14 +1,10 @@
 (function($){
-
     $.fn.Tabs = function( method ) {
-
-        // In Bootstrap 3, we need shown.bs.tab instrad of shown.
+        // In Bootstrap 3, we need 'shown.bs.tab' instead of 'shown'
         // see: http://bootply.com/bootstrap-3-migration-guide
         $('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');
         });
-
     };
-
 })( jQuery );