summaryrefslogtreecommitdiffstatshomepage
path: root/test/util/scratch_server.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/scratch_server.js')
-rw-r--r--test/util/scratch_server.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/util/scratch_server.js b/test/util/scratch_server.js
index 187590dd..bbf5a87c 100644
--- a/test/util/scratch_server.js
+++ b/test/util/scratch_server.js
@@ -1,5 +1,5 @@
var server = makeServer();
-var autoRespond = localStorage.getItem('kt-scratch-autorespond') == "true";
+var autoRespond = localStorage.getItem('hx-scratch-autorespond') == "true";
server.autoRespond = autoRespond;
ready(function () {
if (autoRespond) {
@@ -8,10 +8,10 @@ ready(function () {
})
function toggleAutoRespond() {
if (server.autoRespond) {
- localStorage.removeItem('kt-scratch-autorespond');
+ localStorage.removeItem('hx-scratch-autorespond');
server.autoRespond = false;
} else {
- localStorage.setItem('kt-scratch-autorespond', 'true');
+ localStorage.setItem('hx-scratch-autorespond', 'true');
server.autoRespond = true;
}
}