Skip to content

Commit

Permalink
Tabbed interface: Fixed initialization of second or more tabbed inter…
Browse files Browse the repository at this point in the history
…faces on a page

Fixes #6837
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Jun 4, 2015
1 parent 756a08d commit 3ecaed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/tabs/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ var componentName = "wb-tabs",
viewChange = isSmallView !== oldIsSmallView;
isInit = $currentElm.length ? true : false;

if ( viewChange ) {
if ( viewChange || isInit ) {
$elms = isInit ? $currentElm : $( selector );
len = $elms.length;

Expand Down

0 comments on commit 3ecaed8

Please sign in to comment.