table-sort-js
Advanced tools
Comparing version 1.18.1 to 1.18.2
{ | ||
"name": "table-sort-js", | ||
"version": "1.18.1", | ||
"version": "1.18.2", | ||
"description": "A JavaScript client-side HTML table sorting library with no dependencies required.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -29,3 +29,6 @@ /* | ||
for (let table of getTagTable) { | ||
if (table.classList.contains("table-sort")) { | ||
if ( | ||
table.classList.contains("table-sort") && | ||
!table.classList.contains("table-processed") | ||
) { | ||
makeTableSortable(table); | ||
@@ -118,2 +121,3 @@ } | ||
function makeTableSortable(sortableTable) { | ||
sortableTable.classList.add("table-processed"); | ||
const table = { | ||
@@ -120,0 +124,0 @@ bodies: getTableBodies(sortableTable), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29968
584