Skip to content

Commit f0a8ba8

Browse files
0m3rgelanivishal
authored andcommitted
Fix for #8222
1 parent 1de3379 commit f0a8ba8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/web/mage/collapsible.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ define([
100100
_processState: function () {
101101
var anchor = window.location.hash,
102102
isValid = $.mage.isValidSelector(anchor),
103-
urlPath = window.location.pathname.replace('.', '');
103+
urlPath = window.location.pathname.replace(/\./g, ''),
104+
state;
104105

105106
this.stateKey = encodeURIComponent(urlPath + this.element.attr("id"));
106107

0 commit comments

Comments
 (0)