From d5298b742d8ec5f989a3b0f5d717f700cc72e9c8 Mon Sep 17 00:00:00 2001 From: Vernard Alexis Luz Date: Thu, 16 Oct 2025 21:07:38 +0800 Subject: [PATCH] Remove unused `toggleMenu` function call --- app/code/core/Mage/Catalog/Block/Navigation.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/code/core/Mage/Catalog/Block/Navigation.php b/app/code/core/Mage/Catalog/Block/Navigation.php index db9d15ad36e..cc804875db9 100644 --- a/app/code/core/Mage/Catalog/Block/Navigation.php +++ b/app/code/core/Mage/Catalog/Block/Navigation.php @@ -288,11 +288,6 @@ protected function _renderCategoryMenuItemHtml( $attributes = []; $attributes['class'] = implode(' ', $classes); - if ($hasActiveChildren && !$noEventAttributes) { - $attributes['onmouseover'] = 'toggleMenu(this,1)'; - $attributes['onmouseout'] = 'toggleMenu(this,0)'; - } - // assemble list item with attributes $htmlLi = ' $attrValue) {