Skip to content

Commit

Permalink
Fixed breaking LineWriter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MineAndCraft12 committed Jul 19, 2022
1 parent f9aa99c commit 2e90934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions linewriter/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<script defer src="script.js?v=20220718a"></script>
<link rel="stylesheet" href="style.css?v=20220718a">
<script defer src="script.js?v=20220718b"></script>
<link rel="stylesheet" href="style.css?v=20220718b">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Expand Down
2 changes: 1 addition & 1 deletion linewriter/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function loadProject(){
tempHTML += loadSection(i);
tempHTML += '</div>';
}
tempHTML += '<button onclick="addSection()">+ Add New Section</button>';
tempHTML += '<button onclick="addSection(' + i + ')">+ Add New Section</button>';
document.getElementById('projectDiv').innerHTML = tempHTML;
}catch(e){
document.getElementById('jsonLoadError').innerHTML += '<br><div style="width:fit-content;">' +
Expand Down

0 comments on commit 2e90934

Please sign in to comment.