dotjs/jenkins.banksimple.com.js @ 54633d8bf6d8
Minor lisp tweaks
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 30 Jun 2016 13:06:28 +0000 |
parents |
d38d836fda13 |
children |
(none) |
var css = '* { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; -ms-transition: none !important; transition: none !important; }'
var head = document.head || document.getElementsByTagName('head')[0]
var style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet){
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
head.appendChild(style);