Skip to content

Commit

Permalink
ENGCOM-4444: [Backport] Fixes for product tabbing issue #21588
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaschenko authored Mar 7, 2019
2 parents e1146fd + 2745e0f commit 4503597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/mage/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ define([

if (anchor && isValid) {
$.each(self.contents, function (i) {
if ($(this).attr('id') === anchorId) {
if ($(this).attr('id') === anchorId || $(this).find('#' + anchorId).length) {
self.collapsibles.not(self.collapsibles.eq(i)).collapsible('forceDeactivate');

return false;
Expand Down

0 comments on commit 4503597

Please sign in to comment.