Browse Source

try fixing the sub == undefined bug again

master
Ev Bogue 3 years ago
parent
commit
d70d9dc649
  1. 2
      views.js

2
views.js

@ -221,7 +221,7 @@ function publicPage (keys) {
}, 1000 * index)
}, 2500)
if (sub == null) {
if ((sub == null) || (sub == undefined)) {
var subs = [keys.publicKey]
localforage.setItem('subscriptions', subs)
}

Loading…
Cancel
Save