Created
March 24, 2014 22:33
-
-
Save dustintheweb/9750794 to your computer and use it in GitHub Desktop.
Force Safari to redraw when it's being a slow idiot
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
var someFn = function() { | |
$('<style></style>').appendTo($(document.body)).remove(); // force safari redraw | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment