(function() {
var css = '.slide { transform: none !important; }';
var styleId = 'storyline-slide-transform-fix-01';
if (document.getElementById(styleId)) {
return;
}
// If the element doesn't exist, proceed to create and inject it.
var styleElement = document.createElement('style');
styleElement.id = styleId;
styleElement.type = 'text/css';
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = css;
} else {
styleElement.appendChild(document.createTextNode(css));
}
var head = document.head || document.getElementsByTagName('head')[0];
if (head) {
head.appendChild(styleElement);
console.log('Mobile Fix Added Via JS (ID: ' + styleId + '): ' + css);
}
})();