Skip to content

Commit

Permalink
Merge pull request #5 from ArtemFitiskin/master
Browse files Browse the repository at this point in the history
fix bug with defaults method
  • Loading branch information
benplum committed Nov 25, 2014
2 parents 9e307e0 + f982ecf commit 719dd59
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jquery.fs.tabber.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Tabber v3.0.12 - 2014-09-14
* Tabber v3.0.12 - 2014-11-25
* A jQuery plugin for adding simple tabbed interfaces. Part of the Formstone Library.
* http://formstone.it/tabber/
*
Expand Down
4 changes: 2 additions & 2 deletions jquery.fs.tabber.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Tabber v3.0.12 - 2014-09-14
* Tabber v3.0.12 - 2014-11-25
* A jQuery plugin for adding simple tabbed interfaces. Part of the Formstone Library.
* http://formstone.it/tabber/
*
Expand Down Expand Up @@ -37,7 +37,7 @@
*/
defaults: function(opts) {
options = $.extend(options, opts || {});
return $(this);
return (typeof this === 'object') ? $(this) : true;
},

/**
Expand Down
4 changes: 2 additions & 2 deletions jquery.fs.tabber.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/jquery.fs.tabber.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
defaults: function(opts) {
options = $.extend(options, opts || {});
return $(this);
return (typeof this === 'object') ? $(this) : true;
},

/**
Expand Down

0 comments on commit 719dd59

Please sign in to comment.