Skip to content

Commit

Permalink
reset the cache of known violations on disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliette Pretot authored and jul-sh committed Dec 2, 2019
1 parent 23028e7 commit 08ba5e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AxeObserver.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default class AxeObserver {
}
disconnect() {
this.mutationObserver.disconnect()
this._alreadyReportedIncidents.clear()
}
async _auditNode(node) {
const response = await this._auditQueue.run(async () => {
Expand Down

0 comments on commit 08ba5e3

Please sign in to comment.