summaryrefslogtreecommitdiff
path: root/js/toggle-images.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-01-21 19:25:11 +0100
committerczaks <marcin@6irc.net>2014-01-21 19:25:11 +0100
commit46d527ecf69772b89e369e61903a85c6792b9150 (patch)
treefad2485c50dbe7fc19fb1087b0ebf7cbb4b96fa4 /js/toggle-images.js
parent0620f13392348e812df0f7a44f9c96f51a28d718 (diff)
update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27
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);
}