Skip to content

Commit f455069

Browse files
ENGCOM-4444: [Backport] Fixes for product tabbing issue #21588
- Merge Pull Request #21588 from amol2jcommerce/magento2:2.2-develop-PR-port-21079 - Merged commits: 1. ab2de15 2. c6c6ead 3. 905085d
2 parents 3345ec4 + 905085d commit f455069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ define([
7272

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

7878
return false;

0 commit comments

Comments
 (0)