summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrick Brennan <admin@8chan.co>2015-05-10 12:51:35 +0800
committerczaks <marcin@6irc.net>2016-05-06 14:53:17 +0200
commit65ea7b78c50ab3da60a541237f73b13cd2e7e6d8 (patch)
treefedbfb234aa0561a55bf4fa82bda9c570d639565
parent3515fdabe713fc9143a833d0f6a889ce150142aa (diff)
Catalog: click to scroll thread
-rw-r--r--js/catalog.js10
-rw-r--r--stylesheets/style.css1
2 files changed, 10 insertions, 1 deletions
diff --git a/js/catalog.js b/js/catalog.js
index 065fba7b..9adaeaef 100644
--- a/js/catalog.js
+++ b/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');
+ }
+ });
});
diff --git a/stylesheets/style.css b/stylesheets/style.css
index e54faf93..b36a9de9 100644
--- a/stylesheets/style.css
+++ b/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;