// ICI tout commence vraiment
console.log(this.data.theme)
+ this.timeoutAnimation = false
+
//
//this.animations.triggeredBtn()
let $this = this
this.animations.load(status, selector, {'\\$text': text});
selector.addClass("active")
- setTimeout(function(e){
+ this.timeoutAnimation = setTimeout(function(e){
$this.stopAnimationValidation()
}, 10000)
},
- stopAnimationValidation: () => {
+ stopAnimationValidation: function() {
$("#anim").removeClass("active").empty()
+ if(this.timeoutAnimation)
+ clearTimeout(this.timeoutAnimation)
},
resultAfterValidation: function(datas) {