add javascript and css for non-click-sortable table headers th #107
|
@ -5120,6 +5120,10 @@ code {
|
|||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.disable-sort-click {
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
lite-youtube {
|
||||
background-color: #000;
|
||||
position: relative;
|
||||
|
|
|
@ -548,6 +548,9 @@ if (reload_page) {
|
|||
|
||||
const TH = document.getElementsByTagName('th')
|
||||
for (const element of TH) {
|
||||
if (element.classList.contains("disable-sort-click"))
|
||||
continue;
|
||||
|
||||
element.addEventListener('click', () => {sort_table(element)});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue