Skip to content

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