summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-13 10:33:47 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-14 22:34:16 -0500
commite03380108983ee5ff82b4b10b08b31c78208370c (patch)
tree2d5b3fa72a5a2b7e81240bd4bd20271a0eb9325f /ext/mixed
parent0dc170e70b4cba091cb0fbfe31308ca6b0fdc676 (diff)
Fix incorrect page type condition causing incorrect document title (#1105)
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index b9daa9a0..05b67bbd 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -381,7 +381,7 @@ class Display extends EventDispatcher {
}
async getDocumentTitle() {
- if (this._pageType === 'float') {
+ if (this._pageType === 'popup') {
return await this._getRootFrameDocumentTitle();
}
return document.title;