forked from GithubBackups/vichan
Merge pull request #394 from ctrlcctrlv/revert-381-master
Revert "Fixed add_favorites to append to the correct element"
This commit is contained in:
commit
6cc668a722
@ -45,11 +45,11 @@ function handle_boards(data) {
|
||||
}
|
||||
|
||||
function add_favorites() {
|
||||
$('.favorite-boards').empty();
|
||||
$('.favorite-boards').remove();
|
||||
|
||||
var boards = handle_boards(localStorage.favorites);
|
||||
|
||||
$('.favorite-boards').append(boards);
|
||||
$('.boardlist').append(boards);
|
||||
};
|
||||
|
||||
if (active_page == 'thread' || active_page == 'index' || active_page == 'catalog') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user