gutenberg
3 years ago
account-static.js
10 months ago
account.js
10 months ago
amplitude.js
1 year ago
consent-mapping.js
1 year ago
cookiebot-admin-script.js
1 year ago
dashboard.js
1 year ago
jquery.tipTip.js
3 years ago
multiple-page.js
3 years ago
network-settings-page.js
10 months ago
prior-consent-settings.js
3 years ago
settings-page.js
10 months ago
support-page.js
1 year ago
support-page.js
19 lines
| 1 | (() => { |
| 2 | const questionItem = document.querySelectorAll('.cb-faq__container'); |
| 3 | |
| 4 | for (let i = 0; i < questionItem.length; i++) { |
| 5 | questionItem[i].addEventListener('click', function() { |
| 6 | const active = document.querySelector('.cb-faq--opened'); |
| 7 | active.classList.remove('cb-faq--opened'); |
| 8 | questionItem[i].classList.toggle('cb-faq--opened'); |
| 9 | }); |
| 10 | } |
| 11 | })(); |
| 12 | |
| 13 | function copyDebugInfo() { |
| 14 | const t = document.getElementById( 'cookiebot-debug-info' ) |
| 15 | t.select() |
| 16 | t.setSelectionRange( 0, 99999 ) |
| 17 | document.execCommand( 'copy' ) |
| 18 | } |
| 19 |