Skip to content

Commit 1169f91

Browse files
committed
Merge pull request usablica#385 from Chris-Kim/patch-1
Transform is 'undefined' in IE 8
2 parents 7578352 + ea11eed commit 1169f91

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
@@ -956,7 +956,7 @@
956956
var zIndex = _getPropValue(parentElm, 'z-index');
957957
var opacity = parseFloat(_getPropValue(parentElm, 'opacity'));
958958
var transform = _getPropValue(parentElm, 'transform') || _getPropValue(parentElm, '-webkit-transform') || _getPropValue(parentElm, '-moz-transform') || _getPropValue(parentElm, '-ms-transform') || _getPropValue(parentElm, '-o-transform');
959-
if (/[0-9]+/.test(zIndex) || opacity < 1 || transform !== 'none') {
959+
if (/[0-9]+/.test(zIndex) || opacity < 1 || (transform !== 'none' && transform !== undefined)) {
960960
parentElm.className += ' introjs-fixParent';
961961
}
962962

0 commit comments

Comments
 (0)