Skip to content

Commit

Permalink
[CAROUSEL] - Corrected incorrect index target of control text. Causin…
Browse files Browse the repository at this point in the history
…g doubling of text on click/focus events
  • Loading branch information
masterbee committed Mar 31, 2014
1 parent 2640c92 commit 1bc5acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/tabs/tabs.js
Expand Up @@ -612,7 +612,7 @@ var pluginName = "wb-tabs",
.toggleClass( "glyphicon-play glyphicon-pause" );
$sldr.toggleClass( "playing" );

text = $plypause[ 0 ].getElementsByTagName( "span" )[ 0 ];
text = $plypause[ 0 ].getElementsByTagName( "span" )[ 1 ];
text.innerHTML = text.innerHTML === playText ?
i18nText.pause :
playText;
Expand Down

0 comments on commit 1bc5acf

Please sign in to comment.