Created
June 25, 2013 00:19
-
-
Save ghernandez345/5854907 to your computer and use it in GitHub Desktop.
Stupid hack for dumb android to fix a damn fixed button diappearing
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
// The only reason this stupid method exists is because some versions of android | |
// will not render the a fixed element correctly. We move it just so this dumb button | |
// will be visible. | |
moveButton: function () { | |
var self = this; | |
this.$('.buttons-section').css({bottom: '1px'}); | |
setTimeout(function () { | |
self.$('.buttons-section').css({bottom: 0}); | |
}, 200); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment