Browse Source

fix pubs bug, and reqs to server on profile page were way too fast

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

2
settings.js

@ -75,7 +75,7 @@ function settingsPage (keys) {
h('button', {
onclick: function () {
var newServers = servers.filter(item => item !== pub)
localforage.setItem('securepubs', newServers).then(function () { location.reload() })
localforage.setItem('pubs', newServers).then(function () { location.reload() })
}
}, ['Remove'])
]))

2
views.js

@ -15,7 +15,7 @@ function profilePage (src, keys) {
var subs = [src]
var interval = 50
var interval = 500
timer = function() {
if (src === window.location.hash.substring(1)) {
if (interval < 10000) { interval = interval + 50 }

Loading…
Cancel
Save