Revision 4b59dced
Added by koszko about 2 years ago
html/options_main.js | ||
---|---|---|
37 | 37 |
const op = ((list_elem.children.length === 1 && |
38 | 38 |
list_elem.children[0].classList.contains("hide")) || |
39 | 39 |
list_elem.children.length < 1) ? "remove" : "add"; |
40 |
list_elem.parentElement.parentElement.classList[op]("always_scrollbar"); |
|
40 |
while (!list_elem.classList.contains("table_wrapper")) |
|
41 |
list_elem = list_elem.parentElement; |
|
42 |
list_elem.classList[op]("always_scrollbar"); |
|
41 | 43 |
} |
42 | 44 |
|
43 | 45 |
function item_li_id(prefix, item) |
... | ... | |
632 | 634 |
|
633 | 635 |
import_frame = await get_import_frame(); |
634 | 636 |
import_frame.onclose = hide_import_window; |
637 |
import_frame.style_table("has_bottom_line", "always_scrollbar", |
|
638 |
"has_upper_line", "tight_table"); |
|
635 | 639 |
} |
636 | 640 |
|
637 | 641 |
/* |
Also available in: Unified diff
add styling to settings install(import) dialog