Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(window).on 'orientationchange', ->
- $('iframe').remove()
- # This fires after the actual rotation have occurred.
- window.addEventListener("orientationchange", function() {
- // Announce the new orientation number
- alert(window.orientation);
- }, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement