mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
Merge pull request #381 from bbielsa/master
Fixed add_favorites to append to the correct element
This commit is contained in:
commit
a4ffaf222e
@ -45,11 +45,11 @@ function handle_boards(data) {
|
||||
}
|
||||
|
||||
function add_favorites() {
|
||||
$('.favorite-boards').remove();
|
||||
$('.favorite-boards').empty();
|
||||
|
||||
var boards = handle_boards(localStorage.favorites);
|
||||
|
||||
$('.boardlist').append(boards);
|
||||
$('.favorite-boards').append(boards);
|
||||
};
|
||||
|
||||
if (active_page == 'thread' || active_page == 'index' || active_page == 'catalog') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user