Skip to content

Commit

Permalink
Fixed the mismatch problem that occurred in the cell index count whil…
Browse files Browse the repository at this point in the history
…e sorting.
  • Loading branch information
halillusion committed Jun 10, 2022
1 parent 5696eff commit 56b61d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kalipso.table.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class KalipsoTable {
*/
constructor(options) {

this.version = '0.8.3';
this.version = '0.8.4';
this.loading = false;
this.result = [];
this.server = false;
Expand Down Expand Up @@ -755,7 +755,7 @@ class KalipsoTable {

}

let thAreas = document.querySelectorAll(this.options.selector + ' thead th.sort')
let thAreas = document.querySelectorAll(this.options.selector + ' thead th')
if (thAreas.length) {
for (let thIndex = 0; thIndex < thAreas.length; thIndex++) {
if (thIndex !== index) thAreas[thIndex].classList.remove("asc", "desc")
Expand Down

0 comments on commit 56b61d7

Please sign in to comment.