Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
codingkatty authored Oct 10, 2024
1 parent 1362671 commit 199cac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function runCode() {

document.addEventListener('DOMContentLoaded', function() {
// Show the editor only on the page where it is needed
const editorPage = "learn-page"; // Change this to the correct page where the editor should show
const editorPage = "learn"; // Change this to the correct page where the editor should show
if (document.body.id === editorPage) {
showEditor(); // Show the editor only on the specific page
}
Expand Down

0 comments on commit 199cac9

Please sign in to comment.