Skip to content

Commit 72f831b

Browse files
author
Bohdan Korablov
committed
MAGETWO-49796: Catalog top nav, CSS class not set to active when using Varnish
1 parent e41f6cc commit 72f831b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/web/mage/menu.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ define([
209209
categoryUrlExtension = (lastUrlSection.lastIndexOf('.') !== -1)
210210
? lastUrlSection.substr(lastUrlSection.lastIndexOf('.')) : '';
211211

212-
//categoryUrlExtension = lastUrlSection.substr(lastUrlSection.lastIndexOf('.'));
213212
possibleCategoryUrl = currentUrl.substr(0, currentUrl.lastIndexOf('/')) + categoryUrlExtension;
214213
this._setActiveMenuForCategory(possibleCategoryUrl);
215214
}

0 commit comments

Comments
 (0)