From 46d527ecf69772b89e369e61903a85c6792b9150 Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 21 Jan 2014 19:25:11 +0100 Subject: update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27 --- js/expand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/expand.js') diff --git a/js/expand.js b/js/expand.js index c75f0576..0256aebe 100644 --- a/js/expand.js +++ b/js/expand.js @@ -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); } -- cgit v1.3