p.body changed to div.body

This commit is contained in:
Michael Save 2012-08-27 23:01:08 +10:00
parent 34e9e671b3
commit 9fbf24dca5
5 changed files with 121 additions and 5 deletions

View file

@ -109,11 +109,11 @@ onready(function(){
});
};
$('p.body a:not([rel="nofollow"])').each(init_hover);
$('div.body a:not([rel="nofollow"])').each(init_hover);
// allow to work with auto-reload.js, etc.
$(document).bind('new_post', function(e, post) {
$(post).find('p.body a:not([rel="nofollow"])').each(init_hover);
$(post).find('div.body a:not([rel="nofollow"])').each(init_hover);
});
});