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

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