mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-28 21:00:56 +08:00
fix(curriculum): fix whitespaces in storytelling app (#58956)
This commit is contained in:
parent
dc9eeb3ffa
commit
1a227b8ebd
@ -141,12 +141,10 @@ const storyObj = {
|
||||
};
|
||||
|
||||
function displayStory(genre) {
|
||||
if (storyObj.hasOwnProperty(genre)) {
|
||||
|
||||
if (storyObj.hasOwnProperty(genre)) {
|
||||
result.textContent = storyObj[genre].story;
|
||||
storyContainer.style.borderColor = storyObj[genre].borderColor;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
--fcc-editable-region--
|
||||
|
||||
@ -78,12 +78,10 @@ const storyObj = {
|
||||
};
|
||||
|
||||
function displayStory(genre) {
|
||||
if (storyObj.hasOwnProperty(genre)) {
|
||||
|
||||
if (storyObj.hasOwnProperty(genre)) {
|
||||
result.textContent = storyObj[genre].story;
|
||||
storyContainer.style.borderColor = storyObj[genre].borderColor;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
--fcc-editable-region--
|
||||
|
||||
Loading…
Reference in New Issue
Block a user