1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

Allow post-hover.js to work with forced-anon.js

This commit is contained in:
Michael Save 2012-03-17 07:46:44 +11:00
parent 68e873315a
commit e34de4e09d
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@
*/
$(document).ready(function(){
var enable_fa = function() {
enable_fa = function() {
$('p.intro label').each(function() {
if($(this).children('a.capcode').length == 0) {
var id = $(this).parent().children('a.post_no:eq(1)').text();

View File

@ -55,6 +55,8 @@ $(document).ready(function(){
context: document.body,
success: function(data) {
post = $('div.post:first').prepend($(data).find('div.post#reply_' + id).css('display', 'none').addClass('hidden')).find('div.post#reply_' + id);
if(localStorage['forcedanon'])
enable_fa();
start_hover(link, post);
}
});