Skip to content

Commit

Permalink
ENGCOM-4250: Fixes for product tabbing issue #21079
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov authored Mar 4, 2019
2 parents b651cab + 31d0f86 commit 9abbebf
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 9abbebf

Please sign in to comment.