Skip to content

Commit

Permalink
=> /redesign/sandbox/prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldom committed Nov 29, 2024
1 parent 6b6a31e commit b1a89bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ux/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,12 @@
// Remove the radio buttons and update the content
formContent.innerHTML = `
<p>Please review the information below and acknowledge to proceed:</p>
<iframe src="terms.html" style="width: 100%; min-width:64vh; height: 30vh; border: none;"></iframe>
<iframe src="terms.html" style="width: 100%; min-width:64vh; height: 40vh; border: none;"></iframe>
<button id="acknowledgeBtn">Acknowledge</button>
`;

const acknowledgeBtn = document.getElementById('acknowledgeBtn');
const iframe = document.getElementById('tosIframe');
acknowledgeBtn.onclick = () => {
//document.body.removeChild(warningDiv.closest('.overlay')); // Remove the overlay
window.location.href = 'https://joeldom.github.io/redesign/sandbox/prompt/';
Expand Down

0 comments on commit b1a89bf

Please sign in to comment.