-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
81 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -292,4 +292,7 @@ | |
|
||
.for-padding { | ||
height: 100px; | ||
} | ||
#real_submit_btn { | ||
visibility: hidden; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
document.getElementById(`${color}_${num}`).src = `` | ||
// document.getElementById(`${color}_${num}`).src = `` | ||
|
||
|
||
const contentDiv_1 = document.getElementById("linebreaks_fix_1"); | ||
const contentDiv_2 = document.getElementById("linebreaks_fix_2"); | ||
|
||
const paragraphs_1 = contentDiv_1.innerHTML.split("<br>"); | ||
const paragraphs_2 = contentDiv_2.innerHTML.split("<br>"); | ||
contentDiv_1.innerHTML = ""; | ||
contentDiv_2.innerHTML = ""; | ||
|
||
window.addEventListener('DOMContentLoaded',function() { | ||
const newDiv = paragraphs_1.filter(word => word !== '') | ||
newDiv.forEach((paragraph) => { | ||
const p = document.createElement("p"); | ||
p.innerHTML = paragraph; | ||
contentDiv_1.appendChild(p); | ||
}); | ||
|
||
const newDi = paragraphs_2.filter(word => word !== '') | ||
newDi.forEach((paragraph) => { | ||
const p = document.createElement("p"); | ||
p.innerHTML = paragraph; | ||
contentDiv_2.appendChild(p); | ||
}); | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters