Skip to content

Commit f89edf5

Browse files
ENGCOM-4250: Fixes for product tabbing issue #21079
- Merge Pull Request #21079 from prakash2jcommerce/magento2:Product-detail-tabbing-issue - Merged commits: 1. 7fc0ff7 2. 01d7f51 3. c034338
2 parents 73650a0 + c034338 commit f89edf5

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)