Created
May 14, 2015 11:01
-
-
Save srinathweb/6bb4cd90419a3c8639de to your computer and use it in GitHub Desktop.
jquery mobile detect
This file contains hidden or 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
| if(window.innerWidth <= 800 && window.innerHeight <= 600) { | |
| return true; | |
| } else { | |
| return false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment