aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEv Bogue <ev@evbogue.com>2019-12-31 17:31:54 -0600
committerEv Bogue <ev@evbogue.com>2019-12-31 17:31:54 -0600
commitcbf898a4ebda7f0edc3013f13bac61397bb51f7a (patch)
tree70ba5bb247d6203267e8ecf46c3892459cbe9e99
parent9983e7b768f2fc04376e3dfad7335a8a7941dbaa (diff)
fix pubs bug, and reqs to server on profile page were way too fast
-rw-r--r--settings.js2
-rw-r--r--views.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings.js b/settings.js
index f5b341c..b0cb561 100644
--- a/settings.js
+++ b/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'])
]))
diff --git a/views.js b/views.js
index 20cbd4b..6d1fb59 100644
--- a/views.js
+++ b/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 }