Skip to content

Commit

Permalink
Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
RS-labhub committed Apr 5, 2024
1 parent 989c59a commit ccfee7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Pages/Page 2/thirdPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<button id="disable" class="btn" disabled >
<span>Loading...</span>
</button>
<button id="enable" class="btn" onmouseclick = "navigateToSecondPage();">
<button id="enable" class="btn" >
<span>Click me</span>
</button>
</div>
Expand Down
3 changes: 0 additions & 3 deletions Pages/Page 2/thirdPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ document.addEventListener("DOMContentLoaded", function () {
// Show the clickable button
document.getElementById("enable").style.display = "inline";

// Enable the clickable button
document.getElementById("enable").disabled = false;

// Hide the loading button
document.getElementById("disable").style.display = "none";
}
Expand Down

0 comments on commit ccfee7e

Please sign in to comment.