Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrote js/varien/menu.js without prototypejs but no longer linked in the base theme #3946

Merged
merged 3 commits into from
May 2, 2024
Merged

Conversation

fballiano
Copy link
Contributor

@fballiano fballiano commented Apr 21, 2024

This PR targets next

This menu.js is an ancient way of doing "hover", it's not used by RWD and it's linked in base but obviously base doesn't even have a styling so it's kinda useless there.

My original idea was to remove this file altogether but I've thought not to do that at the moment.

I've rewritten (and tested) this file without prototypejs and without ie6 code.

I've then removed the "linking" of this file within the base theme because, in the future, this unneeded way of dealing with hover should be removed altogether

@github-actions github-actions bot added Template : rwd Relates to rwd template Template : base Relates to base template Component: Page Relates to Mage_Page Component: Oauth Relates to Mage_Oauth JavaScript Relates to js/* XML Layout labels Apr 21, 2024
@fballiano fballiano merged commit fc62e31 into OpenMage:next May 2, 2024
14 checks passed
@fballiano fballiano deleted the rewrotemenujs branch May 2, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Oauth Relates to Mage_Oauth Component: Page Relates to Mage_Page JavaScript Relates to js/* Template : base Relates to base template Template : rwd Relates to rwd template XML Layout
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants