(divId: string, show: boolean)
| 72 | } |
| 73 | |
| 74 | function showHideDiv(divId: string, show: boolean) { |
| 75 | const div = document.querySelector('#' + divId)! as HTMLDivElement; |
| 76 | if (show) { |
| 77 | div.style.display = 'block'; |
| 78 | } else { |
| 79 | div.style.display = 'none'; |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | function requestPermission() { |
| 84 | console.log('Requesting permission...'); |
no outgoing calls
no test coverage detected