mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 11:28:41 +01:00
Catalog: click to scroll thread
This commit is contained in:
parent
7fa876099e
commit
dc0553bc47
@ -36,4 +36,14 @@ if (active_page == 'catalog') $(function(){
|
||||
if (catalog.image_size !== undefined) {
|
||||
$('#image_size').val(catalog.image_size).trigger('change');
|
||||
}
|
||||
|
||||
$('div.thread').on('click', function(e) {
|
||||
if ($(this).css('overflow-y') === 'hidden') {
|
||||
$(this).css('overflow-y', 'auto');
|
||||
$(this).css('width', '100%');
|
||||
} else {
|
||||
$(this).css('overflow-y', 'hidden');
|
||||
$(this).css('width', 'auto');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -1244,9 +1244,6 @@ div.boardlist a {
|
||||
div.mix {
|
||||
display: inline-block;
|
||||
}
|
||||
.theme-catalog div.thread:hover {
|
||||
overflow-y: auto; width: 100%
|
||||
}
|
||||
|
||||
/* Mona Font */
|
||||
.aa {
|
||||
|
Loading…
x
Reference in New Issue
Block a user