summaryrefslogtreecommitdiff
path: root/js/hide-images.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/hide-images.js')
-rw-r--r--js/hide-images.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/hide-images.js b/js/hide-images.js
index 21f3241f..51f62bb1 100644
--- a/js/hide-images.js
+++ b/js/hide-images.js
@@ -84,7 +84,7 @@ $(document).ready(function(){
$('div.post > a > img.post-image, div > a > img.post-image').each(handle_images);
- $(document).bind('new_post', function(e, post) {
+ $(document).on('new_post', function(e, post) {
$(post).find('> a > img.post-image').each(handle_images);
});
});