Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos and clue numbering #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@
margin: .3em;
line-height: 1.6em;
}

ol {
list-style: none;
padding-left: 10px;
}

ol > li:before {
content: attr(seq) ". ";
}

</style>

Expand Down
2 changes: 1 addition & 1 deletion js/jquery.crossword.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
}

// while we're in here, add clues to DOM!
$('#' + puzz.data[i].orientation).append('<li tabindex="1" data-position="' + i + '">' + puzz.data[i].clue + '</li>');
$('#' + puzz.data[i].orientation).append('<li tabindex="1" seq="' + puzz.data[i].position + '">&nbsp;' + puzz.data[i].clue + '</li>');
}

// Calculate rows/cols by finding max coords of each entry, then picking the highest
Expand Down
4 changes: 2 additions & 2 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
starty: 9
},
{
clue: "Type of ray emitted frm the sun",
clue: "Type of ray emitted from the sun",
answer: "gamma",
position: 16,
orientation: "across",
Expand Down Expand Up @@ -118,7 +118,7 @@
starty: 5
},
{
clue: "Emits a lout wailing sound",
clue: "Emits a loud wailing sound",
answer: "siren",
position: 11,
orientation: "down",
Expand Down