Browse Source

Catalog: click to scroll thread

pull/40/head
Fredrick Brennan 9 years ago
committed by czaks
parent
commit
65ea7b78c5
  1. 10
      js/catalog.js
  2. 1
      stylesheets/style.css

10
js/catalog.js

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

1
stylesheets/style.css

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

Loading…
Cancel
Save