Created
March 31, 2016 16:55
-
-
Save steveobbayi/025b05fb2193c9344272ea1f3e4d0580 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var targetWidth = 768; | |
if ( $(window).width() >= targetWidth) { | |
//Add your javascript for screens wider than or equal to 768 here | |
} | |
else { | |
//Add your javascript for screens smaller than 768 here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment