Index: trunk/phase3/resources/jquery/jquery.collapsibleTabs.js |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | }, |
51 | 51 | addData: function( $collapsible ) { |
52 | 52 | var $settings = $collapsible.parent().data( 'collapsibleTabsSettings' ); |
53 | | - if ( typeof $settings != 'undefined' ) { |
| 53 | + if ( $settings != null ) { |
54 | 54 | $collapsible.data( 'collapsibleTabsSettings', { |
55 | 55 | 'expandedContainer': $settings.expandedContainer, |
56 | 56 | 'collapsedContainer': $settings.collapsedContainer, |
— | — | @@ -114,4 +114,4 @@ |
115 | 115 | $.collapsibleTabs.handleResize(); |
116 | 116 | } |
117 | 117 | }; |
118 | | -} )( jQuery ); |
\ No newline at end of file |
| 118 | +} )( jQuery ); |