Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Forcing Opera full page reflow/repaint to fix page draw bugs
function forceOperaRepaint() {
if (window.opera) {
var bs = document.body.style;
bs.position = 'relative';
setTimeout(function() {
bs.position = 'static';
}, 1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment