Skip to content

Commit 7e59220

Browse files
author
Natalia Momotenko
committed
MAGETWO-34180: Active item in Nivagation menu is not highlighted
- fixed tests
1 parent 20aa5d6 commit 7e59220

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/code/Magento/Catalog/Model/Observer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*/
66
namespace Magento\Catalog\Model;
77

8+
/**
9+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
10+
*/
811
class Observer
912
{
1013
/**

app/code/Magento/Theme/Block/Html/Topmenu.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ protected function _getHtml(
229229

230230
$html .= '<li ' . $this->_getRenderedMenuItemAttributes($child) . '>';
231231
$html .= '<a href="' . $child->getUrl() . '" ' . $outermostClassCode . '><span>' . $this->escapeHtml(
232-
$child->getName()
233-
) . '</span></a>' . $this->_addSubMenu(
232+
$child->getName()
233+
) . '</span></a>' . $this->_addSubMenu(
234234
$child,
235235
$childLevel,
236236
$childrenWrapClass,

0 commit comments

Comments
 (0)