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:
parent
68e873315a
commit
e34de4e09d
@ -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();
|
||||
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user