Skip to content

Commit 9fa86e2

Browse files
committed
Fix syntax error
1 parent 7bc46a5 commit 9fa86e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/content/browser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ const Browser = Module("browser", {
210210
mappings.add([modes.NORMAL], ["gr"],
211211
"View current tab in Reader View",
212212
function () {
213-
let uri = content.document.location;
214-
if !(uri.startsWith("about:reader")) {
213+
let uri = content.document.location.href;
214+
if (!uri.startsWith("about:reader")) {
215215
liberator.open('about:reader?url=' + uri);
216216
} else {
217217
liberator.open(uri.substr("about:reader?url=".length));

0 commit comments

Comments
 (0)