From: Thierry Parmentelat Date: Fri, 27 Sep 2013 14:12:36 +0000 (+0200) Subject: typo & indented X-Git-Tag: myslice-0.2-5~83 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9a486e42cde8ce57e6e12111423c49780c72ff1a;hp=1c6cc165d68615e58949124447b5eb8bc4c995b5;p=unfold.git typo & indented --- 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 );