summaryrefslogtreecommitdiff
path: root/js/toggle-images.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/toggle-images.js')
-rw-r--r--js/toggle-images.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/toggle-images.js b/js/toggle-images.js
index 554aa111..1455329c 100644
--- a/js/toggle-images.js
+++ b/js/toggle-images.js
@@ -76,7 +76,7 @@ $(document).ready(function(){
show_hide_hide_images_buttons();
}
- $(document).bind('new_post', function(e, post) {
+ $(document).on('new_post', function(e, post) {
if (hide_images) {
$(post).find('img.post-image').each(hideImage);
}