forked from leftypol/leftypol
thread-watcher and favorites in catalog and ukko
This commit is contained in:
parent
1cff10fd95
commit
4479fc7681
2 changed files with 6 additions and 4 deletions
|
@ -50,7 +50,7 @@ function add_favorites() {
|
|||
$('.boardlist').append(boards);
|
||||
};
|
||||
|
||||
if (active_page == 'thread' || active_page == 'index') {
|
||||
if (active_page == 'thread' || active_page == 'index' || active_page == 'catalog' || active_page == 'ukko') {
|
||||
$(document).ready(function(){
|
||||
var favorites = JSON.parse(localStorage.favorites);
|
||||
var is_board_favorite = ~$.inArray(board_name, favorites);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue