Browse Source

Catalog: click to scroll thread

pull/47/head^2
Fredrick Brennan czaks 9 years ago
parent
commit
65ea7b78c5
2 changed files with 10 additions and 1 deletions
  1. +10
    -0
      js/catalog.js
  2. +0
    -1
      stylesheets/style.css

+ 10
- 0
js/catalog.js View File

@@ -35,4 +35,14 @@ if (active_page == 'catalog') $(function(){
if (catalog.image_size !== undefined) { if (catalog.image_size !== undefined) {
$('#image_size').val(catalog.image_size).trigger('change'); $('#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');
}
});
}); });

+ 0
- 1
stylesheets/style.css View File

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


#youtube-size input { #youtube-size input {
width: 50px; width: 50px;


Loading…
Cancel
Save