From f16c14640ea7103c85a8823591594980004b1d5d Mon Sep 17 00:00:00 2001 From: czaks Date: Mon, 20 Oct 2014 14:28:22 +0200 Subject: [PATCH] hide-threads.js: hide youtube videos and other iframe embeds as well; fixes ctrlcctrlv#193 --- js/hide-threads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/hide-threads.js b/js/hide-threads.js index f83b479b..175018ed 100644 --- a/js/hide-threads.js +++ b/js/hide-threads.js @@ -36,7 +36,7 @@ $(document).ready(function(){ } } - var fields_to_hide = 'div.post,div.video-container,video,img:not(.unanimated),canvas,p.fileinfo,a.hide-thread-link,div.new-posts,br'; + var fields_to_hide = 'div.post,div.video-container,video,iframe,img:not(.unanimated),canvas,p.fileinfo,a.hide-thread-link,div.new-posts,br'; var do_hide_threads = function() { var id = $(this).children('p.intro').children('a.post_no:eq(1)').text();