1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Catalog: click to scroll thread

This commit is contained in:
Fredrick Brennan 2015-05-10 12:51:35 +08:00 committed by czaks
parent 3515fdabe7
commit 65ea7b78c5
2 changed files with 10 additions and 1 deletions

View File

@ -35,4 +35,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

@ -1033,7 +1033,6 @@ div.boardlist a {
#watchlist-toggle, .watchThread, .watchlist-remove, #clearList, #clearGhosts {
cursor: pointer;
}
<<<<<<< HEAD
#youtube-size input {
width: 50px;