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

Fix broken menu button on non-touchscreen devices #102

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

kbrgl
Copy link

@kbrgl kbrgl commented Apr 14, 2016

The menu button was only working when tapped on touchscreen devices (i.e. it couldn't be clicked with a mouse.) I have fixed this issue and removed Modernizr.

Modernizr is useless for this website because the only thing for which it was being used was to detect touchscreen devices and make the menu button tappable. However, this is pretty redundant because the menu button will work on touchscreen devices anyway.

I have a demo of the fixed website up at http://kbrgl.github.io/devicons

kbrgl added 2 commits April 14, 2016 13:51
Fixed website menu only opening on touch.
This was depended on by one single function. Upon refactoring that function, modernizr is now redundant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant