Created
December 19, 2013 08:01
-
-
Save danielsuo/8035872 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
document.getElementById('button').addEventListener('click', function() { | |
if (BigScreen.enabled) BigScreen.toggle(); | |
else // fallback for browsers that don't support full screen | |
}, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment