We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc0ff7 commit 01d7f51Copy full SHA for 01d7f51
lib/web/mage/tabs.js
@@ -70,12 +70,9 @@ define([
70
isValid = $.mage.isValidSelector(anchor),
71
anchorId = anchor.replace('#', '');
72
73
- if (anchor && isValid) {
74
- if(anchorId == 'review-form'){
75
- anchorId = anchorId.replace('-form', 's');
76
- }
+ if (anchor && isValid) {
77
$.each(self.contents, function (i) {
78
- if ($(this).attr('id') === anchorId) {
+ if ($(this).attr('id') === anchorId || $(this).find('#' + anchorId).length) {
79
self.collapsibles.not(self.collapsibles.eq(i)).collapsible('forceDeactivate');
80
81
return false;
0 commit comments