@@ -42,7 +42,9 @@ var ModalEffects = (function() {
}, 25 );
}
});
-
+ if(!close) {
+ return
+ }
close.addEventListener( 'click', function( ev ) {
ev.stopPropagation();
removeModalHandler();