From 25569e4c11e842762fe0c945158e3bb987cd273d Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 4 Aug 2022 11:39:50 +0200 Subject: [PATCH] Fix typo in the autoconsent test page --- features/autoconsent/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/autoconsent/main.js b/features/autoconsent/main.js index 043a04a..4156559 100644 --- a/features/autoconsent/main.js +++ b/features/autoconsent/main.js @@ -83,7 +83,7 @@ button.addEventListener('click', (ev) => { const acceptButton = document.createElement('button'); acceptButton.innerText = 'Accept all'; acceptButton.id = 'accept-all'; -document.getElementById('privacy-test-page-cmp-test').appendChild(button); +document.getElementById('privacy-test-page-cmp-test').appendChild(acceptButton); acceptButton.addEventListener('click', (ev) => { ev.target.innerText = 'Accept was clicked!'; window.results.results.push('accept_button_clicked');