add javascript and css for non-click-sortable table headers th #107

Merged
Aevann merged 1 commits from :add-feature-disable-table-th-sort-conditional into master 2023-02-01 14:10:11 +00:00
2 changed files with 7 additions and 0 deletions

View File

@ -5120,6 +5120,10 @@ code {
cursor: pointer !important;
}
.disable-sort-click {
cursor: default !important;
}
lite-youtube {
background-color: #000;
position: relative;

View File

@ -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)});
}