checkbox for tree view

Conflicts:
	js/post-hover.js
This commit is contained in:
topkek
2014-11-28 01:15:10 +00:00
committed by czaks
parent 1888e174b3
commit 8de9b68f5f
2 changed files with 9 additions and 13 deletions

View File

@@ -54,7 +54,6 @@ if (active_page == 'thread' || active_page == 'index') {
$(document).ready(function(){
var favorites = JSON.parse(localStorage.favorites);
var is_board_favorite = ~$.inArray(board_name, favorites);
console.log(is_board_favorite);
$('header>h1').append('<a id="favorite-star" href="#" data-active="'+(is_board_favorite ? 'true' : 'false')+'" style="color: '+(is_board_favorite ? 'yellow' : 'grey')+'; text-decoration:none">\u2605</span>');
add_favorites();