diff options
| author | Alex Yatskov <alex@foosoft.net> | 2016-07-14 22:06:47 -0700 | 
|---|---|---|
| committer | Alex Yatskov <alex@foosoft.net> | 2016-07-14 22:06:47 -0700 | 
| commit | 361dd47f0abab271f8ae3bf4ce2cdcc3b0b91c99 (patch) | |
| tree | be0dd7d6c3955fcdc8fd8afabd9eec1d186448b6 | |
| parent | 22219693c906feefbc21998b70b5af69f66e495c (diff) | |
Simplify requests
| -rw-r--r-- | ext/bg/js/yomichan.js | 2 | 
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); |