update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27

This commit is contained in:
czaks 2014-01-21 19:25:11 +01:00
parent 0620f13392
commit 46d527ecf6
19 changed files with 27 additions and 25 deletions

View file

@ -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);
});
});