mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
hide-threads.js: hide youtube videos and other iframe embeds as well; fixes ctrlcctrlv#193
This commit is contained in:
parent
4220b259e6
commit
f16c14640e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user