summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-13 10:33:47 -0500
committerGitHub <noreply@github.com>2020-12-13 10:33:47 -0500
commit48b8041800cc6a291f1addff59b7380434f89a87 (patch)
tree6638317eec86371314d3e5d4dfdae3921e61b9e3 /ext/mixed/js/display.js
parent5948229176d9a23f1a8fe9f7125c32bece34f100 (diff)
Fix incorrect page type condition causing incorrect document title (#1105)
Diffstat (limited to 'ext/mixed/js/display.js')
-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 b19d07e2..26a05abd 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -390,7 +390,7 @@ class Display extends EventDispatcher {
}
async getDocumentTitle() {
- if (this._pageType === 'float') {
+ if (this._pageType === 'popup') {
return await this._getRootFrameDocumentTitle();
}
return document.title;