Skip to content

Commit ea11eed

Browse files
committed
Transform is 'undefined' in IE 8
1 parent ea54663 commit ea11eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@
950950
var zIndex = _getPropValue(parentElm, 'z-index');
951951
var opacity = parseFloat(_getPropValue(parentElm, 'opacity'));
952952
var transform = _getPropValue(parentElm, 'transform') || _getPropValue(parentElm, '-webkit-transform') || _getPropValue(parentElm, '-moz-transform') || _getPropValue(parentElm, '-ms-transform') || _getPropValue(parentElm, '-o-transform');
953-
if (/[0-9]+/.test(zIndex) || opacity < 1 || transform !== 'none') {
953+
if (/[0-9]+/.test(zIndex) || opacity < 1 || (transform !== 'none' && transform !== undefined)) {
954954
parentElm.className += ' introjs-fixParent';
955955
}
956956

0 commit comments

Comments
 (0)