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/hide-threads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/hide-threads.js') diff --git a/js/hide-threads.js b/js/hide-threads.js index 75d34721..750d06a2 100644 --- a/js/hide-threads.js +++ b/js/hide-threads.js @@ -78,7 +78,7 @@ $(document).ready(function(){ $('div.post.op').each(do_hide_threads); - $(document).bind('new_post', function(e, post) { + $(document).on('new_post', function(e, post) { do_hide_threads.call($(post).find('div.post.op')[0]); }); }); -- cgit v1.3