forked from leftypol/leftypol
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
facd183304 | |||
40bbda5027 |
1 changed files with 5 additions and 5 deletions
|
@ -23,7 +23,7 @@ function addBoard(){
|
|||
add_favorites();
|
||||
} //This adds the text inside the textbox to favorites, localStorage.favorites and the page
|
||||
|
||||
var favorites = JSON.parse(localStorage.favorites);
|
||||
var favorites = localStorage.favorites ? JSON.parse(localStorage.favorites) : [];
|
||||
Options.add_tab('fav-tab','star',_("Favorites"));
|
||||
|
||||
//Pregenerating list of boards
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue