- fix collisions between js script from main page and the application,

- fix problem with special characters for etrack,
This commit is contained in:
Szakalakamaka
2020-11-03 15:23:21 +01:00
parent ea56911a58
commit dff31ab907
43 changed files with 988 additions and 567 deletions

View File

@@ -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") {