diff options
| author | czaks <marcin@6irc.net> | 2014-01-21 19:25:11 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-01-21 19:25:11 +0100 |
| commit | 46d527ecf69772b89e369e61903a85c6792b9150 (patch) | |
| tree | fad2485c50dbe7fc19fb1087b0ebf7cbb4b96fa4 /js/hide-images.js | |
| parent | 0620f13392348e812df0f7a44f9c96f51a28d718 (diff) | |
update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27
Diffstat (limited to 'js/hide-images.js')
| -rw-r--r-- | js/hide-images.js | 2 |
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); }); }); |
