forked from leftypol/leftypol
update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27
This commit is contained in:
parent
0620f13392
commit
46d527ecf6
19 changed files with 27 additions and 25 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue