summaryrefslogtreecommitdiffstats
path: root/toolkit/components/reader/ReaderMode.jsm
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-10-17 19:10:44 +0200
committerGitHub <noreply@github.com>2018-10-17 19:10:44 +0200
commitc423bdaf0364fe1dd3b540145779ccd0c6a053f7 (patch)
treeaddb412037fc321793a64a54dc2fbc4cd83751d7 /toolkit/components/reader/ReaderMode.jsm
parent46eab94c094807ff590267872cf32a664625932f (diff)
parentf696173b4af510cf72885282efcfdd3c4005fbb1 (diff)
downloadUXP-c423bdaf0364fe1dd3b540145779ccd0c6a053f7.tar
UXP-c423bdaf0364fe1dd3b540145779ccd0c6a053f7.tar.gz
UXP-c423bdaf0364fe1dd3b540145779ccd0c6a053f7.tar.lz
UXP-c423bdaf0364fe1dd3b540145779ccd0c6a053f7.tar.xz
UXP-c423bdaf0364fe1dd3b540145779ccd0c6a053f7.zip
Merge pull request #837 from Ascrod/readerview
Reader Updates
Diffstat (limited to 'toolkit/components/reader/ReaderMode.jsm')
-rw-r--r--toolkit/components/reader/ReaderMode.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/reader/ReaderMode.jsm b/toolkit/components/reader/ReaderMode.jsm
index e9eb83154..218e12d60 100644
--- a/toolkit/components/reader/ReaderMode.jsm
+++ b/toolkit/components/reader/ReaderMode.jsm
@@ -195,7 +195,7 @@ this.ReaderMode = {
// We pass in a helper function to determine if a node is visible, because
// it uses gecko APIs that the engine-agnostic readability code can't rely
// upon.
- return new Readability(uri, doc).isProbablyReaderable(this.isNodeVisible.bind(this, utils));
+ return new Readability(doc).isProbablyReaderable(this.isNodeVisible.bind(this, utils));
},
isNodeVisible(utils, node) {