Skip to content

Commit

Permalink
Use strict comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint committed Feb 22, 2015
1 parent 11dea64 commit ca9cfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap-tabcollapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
return this.each(function () {
var $this = $(this);
var data = $this.data('bs.tabcollapse');
var options = $.extend({}, TabCollapse.DEFAULTS, $this.data(), typeof option == 'object' && option);
var options = $.extend({}, TabCollapse.DEFAULTS, $this.data(), typeof option === 'object' && option);

if (!data) $this.data('bs.tabcollapse', new TabCollapse(this, options));
});
Expand Down

0 comments on commit ca9cfcc

Please sign in to comment.