Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Forcing Opera full page reflow/repaint to fix page draw bugs
function forceOperaRepaint() {
if (window.opera) {
var bs =;
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