Amélioration de la feuille de personnages #547
| @@ -432,7 +432,9 @@ export class RdDActorSheet extends ActorSheet { | |||||||
|         } |         } | ||||||
|       }) |       }) | ||||||
|       .keyup(async event => { |       .keyup(async event => { | ||||||
|         this.options.recherche = this._optionRecherche(event.currentTarget) |         const nouvelleRecherche = this._optionRecherche(event.currentTarget); | ||||||
|  |         if (this.options.recherche?.text != nouvelleRecherche?.text){ | ||||||
|  |           this.options.recherche = nouvelleRecherche; | ||||||
|           if (this.timerRecherche) { |           if (this.timerRecherche) { | ||||||
|             clearTimeout(this.timerRecherche); |             clearTimeout(this.timerRecherche); | ||||||
|           } |           } | ||||||
| @@ -440,6 +442,7 @@ export class RdDActorSheet extends ActorSheet { | |||||||
|             this.timerRecherche = undefined; |             this.timerRecherche = undefined; | ||||||
|             this.render(true); |             this.render(true); | ||||||
|           }, 500); |           }, 500); | ||||||
|  |         } | ||||||
|       }) |       }) | ||||||
|       .change(async event => |       .change(async event => | ||||||
|         this.options.recherche = this._optionRecherche(event.currentTarget) |         this.options.recherche = this._optionRecherche(event.currentTarget) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user