diff --git a/lib/boards-api.js b/lib/boards-api.js index c058aa8..9bf59e0 100644 --- a/lib/boards-api.js +++ b/lib/boards-api.js @@ -68,7 +68,7 @@ function BoardsAPI(ipfs){ var stored = localStorage.getItem('ipfs-boards-user-cache') try { this.users = JSON.parse(stored) - if(this.users === null || this.users === undefined){ + if(this.users === null || this.users === undefined || !this.users.indexOf || !this.users.push){ this.users = [] } } catch(e){