diff --git a/js/favorites.js b/js/favorites.js
index e4d89086..acef9c7e 100644
--- a/js/favorites.js
+++ b/js/favorites.js
@@ -41,15 +41,15 @@ function handle_boards(data) {
return $('').append(' [ '+boards.join(" / ")+' ] ');
} else {
return $('');
- }
+ }
}
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') {