commit: 8e104283eef17e639c196354f86cc262b1125b73
parent: acd02d5f473d2f785df0f9bb2f5992e32eb26119
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 23 Aug 2018 20:52:55 +0200
sorttable/index.html: Add missing instruction on class="sorttable"
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sorttable/index.html b/sorttable/index.html
@@ -28,6 +28,7 @@ I am trash main()
<ol>
<li>Add <code><script src="sorttable.js"></script></code> (or <code>sorttable.min.js</code>) at the end of your <abbr title="HyperText Markup Language">HTML</abbr> pages</li>
<li>Add <code><link rel="stylesheet" href="sorttable.css"/></code> to the <code>head</code> of your <abbr title="HyperText Markup Language">HTML</abbr> pages</li>
+ <li>Tag the <code>table</code>s that you want to be sorted with a <code>class="sortable"</code></li>
</ol>
<p>To override a cell(<code>td</code>) value ou can pass the well used <code>data-value</code> attribute to it. Also please note that the sorting may not be <a href="https://en.wikipedia.org/wiki/Sorting_algorithm#Stability">stable</a>.</p>
<h2>Demo</h2>