Permalink
Browse files

Tabbed interface: Fixed initialization of second or more tabbed inter…

…faces on a page

Fixes #6837
  • Loading branch information...
pjackson28 committed Jun 4, 2015
1 parent 756a08d commit 3ecaed8a8f57b11bb5bd479059c852af35b1832b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/tabs/tabs.js
@@ -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;

0 comments on commit 3ecaed8

Please sign in to comment.