Last corrections before micro workers

This commit is contained in:
Thomas FORGIONE
2015-10-07 14:13:20 +02:00
parent 688223eb58
commit 00fe3dfe34
4 changed files with 203 additions and 32 deletions

View File

@@ -258,7 +258,7 @@ TutorialSteps.prototype.alert = function(myString, justclicked) {
TutorialSteps.prototype.notify = function(myString, justclick) {
$('#alert-placeholder').html(
'<div id="toto" class="alert alert-warning alert-dismissable">' +
'<div id="toto" class="alert alert-info alert-dismissable">' +
(justclick ?
'<button type="button" class="close" aria-hidden="true"' +
'onclick="setTimeout(onWindowResize, 100); nextStep();' + '">' +
@@ -275,6 +275,12 @@ TutorialSteps.prototype.notify = function(myString, justclick) {
$('#toto').removeClass('alert-info').addClass('alert-danger');
setTimeout(function() {
$('#toto').removeClass('alert-danger').addClass('alert-warning');
}, 500);
$('#toto').removeClass('alert-danger').addClass('alert-info');
setTimeout(function() {
$('#toto').removeClass('alert-info').addClass('alert-danger');
setTimeout(function() {
$('#toto').removeClass('alert-danger').addClass('alert-info');
}, 700);
}, 700);
}, 700);
};