Skip to main content
Home / Code Snippets / JavaScript / Prevent Background Image Flickering in IE

Prevent Background Image Flickering in IE

try {
 document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}