Skip to content

Commit

Permalink
change container id
Browse files Browse the repository at this point in the history
  • Loading branch information
sebnozzi committed Feb 17, 2024
1 parent 0f70808 commit be0dcf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="dist/miniscript-web-term.css"/>
</head>
<body data-src-file="example/main.ms">
<div id="term_demo"></div>
<div id="terminal"></div>
<script src="dist/miniscript-web-term.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion src/msTerminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class MSTerminal {
});


const container = document.getElementById('term_demo') as HTMLElement;
const container = document.getElementById('terminal') as HTMLElement;

term.loadAddon(rl);
term.open(container);
Expand Down

0 comments on commit be0dcf0

Please sign in to comment.