diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-03 14:18:49 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-03 14:18:49 +0200 |
commit | 88e05fc523ec7a2c366b0e7831991efee538566c (patch) | |
tree | 29d748bfa2c967bfff54c3f4722c0cbae8074c93 /toolkit/components/reader/ReaderWorker.js | |
parent | 87d742b6832303266ce1bd737e3d421f0f809335 (diff) | |
parent | 83394569a1e3c6a48a5c0dbd380a1a7cf741d17a (diff) | |
download | UXP-88e05fc523ec7a2c366b0e7831991efee538566c.tar UXP-88e05fc523ec7a2c366b0e7831991efee538566c.tar.gz UXP-88e05fc523ec7a2c366b0e7831991efee538566c.tar.lz UXP-88e05fc523ec7a2c366b0e7831991efee538566c.tar.xz UXP-88e05fc523ec7a2c366b0e7831991efee538566c.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'toolkit/components/reader/ReaderWorker.js')
-rw-r--r-- | toolkit/components/reader/ReaderWorker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/reader/ReaderWorker.js b/toolkit/components/reader/ReaderWorker.js index 9ae589d7d..69426788b 100644 --- a/toolkit/components/reader/ReaderWorker.js +++ b/toolkit/components/reader/ReaderWorker.js @@ -47,7 +47,7 @@ var Agent = { * @return {object} Article object returned from Readability. */ parseDocument(uri, serializedDoc, options) { - let doc = new JSDOMParser().parse(serializedDoc); + let doc = new JSDOMParser().parse(serializedDoc, uri.spec); return new Readability(uri, doc, options).parse(); }, }; |