Skip to content

Commit 96fd6ec

Browse files
committed
merge
2 parents d0e1254 + 1169f91 commit 96fd6ec

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

0 commit comments

Comments
 (0)