Browse Source

Fix color incase page is missed and then found again.

pull/40/head
Forkless 10 years ago
committed by czaks
parent
commit
fdc14c699c
  1. 2
      js/thread-stats.js

2
js/thread-stats.js

@ -79,6 +79,7 @@ $(document).ready(function(){
} }
$('#thread_stats_page').text(page); $('#thread_stats_page').text(page);
if (!found) $('#thread_stats_page').css('color','red'); if (!found) $('#thread_stats_page').css('color','red');
else $('#thread_stats_page').css('color','');
}); });
} }
// load the current page the thread is on. // load the current page the thread is on.
@ -99,6 +100,7 @@ $(document).ready(function(){
} }
$('#thread_stats_page').text(page); $('#thread_stats_page').text(page);
if (!found) $('#thread_stats_page').css('color','red'); if (!found) $('#thread_stats_page').css('color','red');
else $('#thread_stats_page').css('color','');
}); });
},30000); },30000);
$('body').append('<style>.posts_by_id{display:none;}.poster_id:hover+.posts_by_id{display:initial}</style>'); $('body').append('<style>.posts_by_id{display:none;}.poster_id:hover+.posts_by_id{display:initial}</style>');

Loading…
Cancel
Save