aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index cd4bd4c1..9d03aff6 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -144,8 +144,6 @@ class Yomichan {
});
xhr.open('POST', 'http://127.0.0.1:8765');
- xhr.withCredentials = true;
- xhr.setRequestHeader('Content-Type', 'text/json');
xhr.send(JSON.stringify({action, params}));
} else {
callback(null);