diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2015-09-12 21:03:54 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2015-09-12 21:03:54 +0100 |
| commit | 166ba2a0a205c88bdb8fcc6fc538a0bdc01b60d9 (patch) | |
| tree | 5a7293c0d78804f72e253e385d015162e029777b /js/hide-images.js | |
| parent | 05c569e656070f086de49d24749d4b18916975da (diff) | |
| parent | 844b26216614d953ee8521838f1030ad59d735ec (diff) | |
Merge remote-tracking branch 'vichan/master'
Diffstat (limited to 'js/hide-images.js')
| -rw-r--r-- | js/hide-images.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/hide-images.js b/js/hide-images.js index 023c166c..323a1a1f 100644 --- a/js/hide-images.js +++ b/js/hide-images.js @@ -93,9 +93,9 @@ $(document).ready(function(){ $(this).parent().prev().find('.hide-image-link').click(); }; - $('div.post > a > img.post-image, div > a > img.post-image').each(handle_images); + $('div.post > a > img.post-image, div.post > a > video.post-image, div > a > img.post-image, div > a > video.post-image').each(handle_images); $(document).on('new_post', function(e, post) { - $(post).find('a > img.post-image').each(handle_images); + $(post).find('a > img.post-image, a > video.post-image').each(handle_images); }); }); |
