diff --git a/js/catalog.js b/js/catalog.js index 59b57f6c..3ded2141 100644 --- a/js/catalog.js +++ b/js/catalog.js @@ -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'); + } + }); }); diff --git a/stylesheets/style.css b/stylesheets/style.css index af8a3d8b..1c33f5d0 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -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 {