thread-watcher and favorites in catalog and ukko

This commit is contained in:
czaks 2016-05-09 11:18:27 +02:00
parent 1cff10fd95
commit 4479fc7681
2 changed files with 6 additions and 4 deletions

View file

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