Skip to content

Commit

Permalink
PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
harimohanraj89 committed Jan 23, 2020
1 parent 5a3ea81 commit 4d99f99
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions demo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ attribute.

This example sorts products by price, even though the prices are not in the same column as their header.

{% highlight html %}<table id='column-keys' class='sort'>
{% highlight html %}<table class='sort'>
<thead>
<tr>
<th >Product</th>
<th colspan=2 data-sort-column-key="price">Price</th>
<th colspan="2" data-sort-column-key="price">Price</th>
</tr>
</thead>
<tbody>
Expand All @@ -244,7 +244,7 @@ This example sorts products by price, even though the prices are not in the same
<thead>
<tr>
<th>Product</th>
<th colspan=2 data-sort-column-key="price">Price</th>
<th colspan="2" data-sort-column-key="price">Price</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -280,6 +280,7 @@ MIT

<script>
new Tablesort(document.getElementById('defaulting'));
new Tablesort(document.getElementById('column-keys'));

var events = document.getElementById('event-table')
new Tablesort(events);
Expand Down

0 comments on commit 4d99f99

Please sign in to comment.