From 9a486e42cde8ce57e6e12111423c49780c72ff1a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 27 Sep 2013 16:12:36 +0200 Subject: [PATCH] typo & indented --- plugins/tabs/static/js/tabs.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/tabs/static/js/tabs.js b/plugins/tabs/static/js/tabs.js index 64c6921a..75ce452a 100644 --- a/plugins/tabs/static/js/tabs.js +++ b/plugins/tabs/static/js/tabs.js @@ -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 ); -- 2.43.0