Skip to content

Commit b6527f3

Browse files
committed
Updated nick
1 parent 2d6ea30 commit b6527f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

AVisitFromSaintNick.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@
208208
// Add ability to just show inputs
209209
// Add ability to break inputs into N groups, and just show group #N at the moment
210210
// If adding that ability, make sure it doesn't break TAB feature
211-
// Put alert on Clear
212211
// If token reference is all upper case or init case, process token value to match
213212
//
214213

@@ -246,8 +245,10 @@
246245
}
247246

248247
const handleClear = () => {
249-
setInputs(defaultInputs);
250-
localStorage.removeItem("inputs");
248+
if(confirm("CLEAR ENTIRE FORM? This cannot be undone!")) {
249+
setInputs(defaultInputs);
250+
localStorage.removeItem("inputs");
251+
}
251252
};
252253

253254
const handlePrint = () => {
@@ -316,7 +317,7 @@
316317
The [stockings:clothing, plural] were [moving verb, past-tense] by the [chimney:noun, something you can crawl through] with care,
317318
In hopes that $Nick [adverb] would be there;
318319
The [group of people] were nestled all [good adjective] in their [beds:furniture, plural];
319-
While visions of [esoteric food] [intransitive verb related to $heads, past-tense] in their [heads:noun, plural, rhymes with $beds];
320+
While visions of [esoteric food] danced in their [heads:noun, plural, rhymes with $beds];
320321
And [person, female] in her $stockings, and I in my [cap:article of clothing],
321322
Had just settled our heads for $@article [adjective, describing $nap] winter's [nap:noun, rhymes with $cap],
322323
When out on the [landscape feature] there arose such a [clatter:noise],
@@ -739,8 +740,7 @@ <h2>Player {playerNumber}'s Inputs</h2>
739740
{data.map((index) => {
740741
const value = inputs[index] || '';
741742
const placeholder = placeholders[index] || `#${index}`;
742-
return (
743-
<div key={index} className="subset">
743+
return (<div key={index} className="subset">
744744
<input
745745
value={value || ""}
746746
placeholder={placeholder}

0 commit comments

Comments
 (0)