Created
October 2, 2011 19:23
-
-
Save backflip/1257810 to your computer and use it in GitHub Desktop.
JavaScript bookmarklet to increase scrolling performance of GitHub code views on the iPhone
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
// Scrolling GitHub on my iPhone 4 (iOS 4.3.5) is almost impossible since it is extremely laggy / unresponsive. | |
// Digging through GitHub's code I discovered that unbinding some touch events solved the problem. | |
// No side effects detected. | |
javascript:jQuery('body').unbind(%22touchstart%20touchmove%20touchend%20touchcancel%22); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment