Skip to content

Commit

Permalink
hide-threads.js: hide youtube videos and other iframe embeds as well;…
Browse files Browse the repository at this point in the history
… fixes ctrlcctrlv#193
  • Loading branch information
czaks committed Oct 20, 2014
1 parent 4220b25 commit f16c146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/hide-threads.js
Expand Up @@ -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();
Expand Down

0 comments on commit f16c146

Please sign in to comment.