- fix collisions between js script from main page and the application,
- fix problem with special characters for etrack,
This commit is contained in:
@@ -27,9 +27,9 @@ for (let i = 3; i >= 0; i--) {
|
||||
function addButtonListeners(i) {
|
||||
var buttons = document.querySelectorAll('.btn-sort');
|
||||
for (var j = buttons.length - 1; j >= 0; j--) {
|
||||
buttons[j].classList.remove('active');
|
||||
buttons[j].classList.remove('activeButton');
|
||||
}
|
||||
document.querySelector('#btn-sort-' + i).classList.add('active');
|
||||
document.querySelector('#btn-sort-' + i).classList.add('activeButton');
|
||||
buildTable();
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ function showTable() {
|
||||
|
||||
|
||||
function sortTable() {
|
||||
var sortBy = document.querySelector('.active').textContent
|
||||
var sortBy = document.querySelector('.activeButton').textContent
|
||||
switch (sortBy) {
|
||||
case "MessageId":
|
||||
if (previousSort === "MessageId") {
|
||||
|
||||
Reference in New Issue
Block a user