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/post-hover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/post-hover.js') diff --git a/js/post-hover.js b/js/post-hover.js index 0af5b164..f0898669 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -168,7 +168,7 @@ onready(function(){ $('div.body a:not([rel="nofollow"])').each(init_hover); // allow to work with auto-reload.js, etc. - $(document).bind('new_post', function(e, post) { + $(document).on('new_post', function(e, post) { $(post).find('div.body a:not([rel="nofollow"])').each(init_hover); }); }); -- cgit v1.3