1
0
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:
Fredrick Brennan 2015-05-10 12:51:35 +08:00
parent 7fa876099e
commit dc0553bc47
2 changed files with 10 additions and 3 deletions

View File

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

View File

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