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

@ -57,7 +57,7 @@ $(document).ready(function(){
$('div.post.op span.omitted').each(do_expand);
$(document).bind("new_post", function(e, post) {
$(document).on("new_post", function(e, post) {
if (!$(post).hasClass("reply")) {
$(post).find('div.post.op span.omitted').each(do_expand);
}