Browse Source

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

pull/40/head
Michael Save 12 years ago
parent
commit
e34de4e09d
  1. 2
      js/forced-anon.js
  2. 2
      js/post-hover.js

2
js/forced-anon.js

@ -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();

2
js/post-hover.js

@ -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…
Cancel
Save