Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b43e954

Browse files
authored
Merge pull request #1572 from javascript-tutorial/paroche-patch-6
Update solution.md
2 parents 9e7235f + 4541b04 commit b43e954

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/07-modifying-document/12-sort-table

1 file changed

+1
-1
lines changed

‎2-ui/1-document/07-modifying-document/12-sort-table/solution.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ table.tBodies[0].append(...sortedRows);
1414
3. Then sort them comparing by the content of the first `<td>` (the name field).
1515
4. Now insert nodes in the right order by `.append(...sortedRows)`.
1616

17-
Tables always have an implicit <tbody> element, so we need to take it and insert into it: a simple `table.append(...)` would fail.
17+
Tables always have an implicit `<tbody>` element, so we need to take it and insert into it: a simple `table.append(...)` would fail.
1818

1919
Please note: we don't have to remove them, just "re-insert", they leave the old place automatically.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /