Skip to content

Commit

Permalink
Enabled Modernizr media queries by default
Browse files Browse the repository at this point in the history
Standard window.width has inconsistencies between browsers (mainly scrollbars), using Modernizr media queries fixes this problem.
  • Loading branch information
invmatt committed Aug 18, 2014
1 parent 135e3eb commit 4571f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/droplet.jquery.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Droplet v1.2.9-alpha
* Droplet v1.2.91
* http://invmatt.github.io/Droplet
*
* This program is free software: you can redistribute it and/or modify
Expand All @@ -24,7 +24,7 @@
'mode': 'droplet-responsive', // Class added once the smaller breakpoint has been reached
'smallScreen': '768', // Breakpoint when Droplet should initialise
'largeScreen': '769', // Breakpoint when Droplet should revert to standard navigation
'Modernizr': false, // Adds support for Modernizr Media Queries (recommended)
'Modernizr': true, // Adds support for Modernizr Media Queries (recommended)
'subNav': false, // If you have sub-navigation set this to true
'subClass': '', // Class of the containing sub navigation UL
'panel': false, // Create a panel style menu
Expand Down

0 comments on commit 4571f53

Please sign in to comment.