fixed new task error

This commit is contained in:
zmagod 2016-08-25 15:30:32 +02:00
parent 8ff645fb89
commit 7a47ff6bc5

View file

@ -3445,14 +3445,12 @@ function canvas_tutorial_helper(){
.css({'pointer-events': 'none'});
});
}
$( document ).ajaxComplete(function() {
$('#canvas-new-module')
.css({'pointer-events': 'none'});
});
});
$( document ).ajaxComplete(function() {
if( $('div').hasClass('introjs-showElement') ){
$('#canvas-new-module')
.css({'pointer-events': 'none'});
}
});
}
function restore_after_tutorial(){