summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-10-20 14:28:22 +0200
committerczaks <marcin@6irc.net>2014-10-20 14:28:22 +0200
commitf16c14640ea7103c85a8823591594980004b1d5d (patch)
treeea12fc92b8bd46736cafcfb8b2e1b7a7e130e90d /js
parent4220b259e6e3230cf93f38a1c1bdf78f84ffd8ea (diff)
hide-threads.js: hide youtube videos and other iframe embeds as well; fixes ctrlcctrlv#193
Diffstat (limited to 'js')
-rw-r--r--js/hide-threads.js2
1 files changed, 1 insertions, 1 deletions
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();