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(){
|
$(document).ready(function(){
|
||||||
var enable_fa = function() {
|
enable_fa = function() {
|
||||||
$('p.intro label').each(function() {
|
$('p.intro label').each(function() {
|
||||||
if($(this).children('a.capcode').length == 0) {
|
if($(this).children('a.capcode').length == 0) {
|
||||||
var id = $(this).parent().children('a.post_no:eq(1)').text();
|
var id = $(this).parent().children('a.post_no:eq(1)').text();
|
||||||
|
|
|
@ -55,6 +55,8 @@ $(document).ready(function(){
|
||||||
context: document.body,
|
context: document.body,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
post = $('div.post:first').prepend($(data).find('div.post#reply_' + id).css('display', 'none').addClass('hidden')).find('div.post#reply_' + id);
|
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);
|
start_hover(link, post);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue