Skip to content

Commit bad99cf

Browse files
authored
Merge pull request #12813 from nextcloud/fix/inject-title-printing
fix(Thread): title printing
2 parents 797eab9 + e9d8f77 commit bad99cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/Thread.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,13 +534,14 @@ export default {
534534
iframeDocument.write(`
535535
<html>
536536
<head>
537-
<title>${this.threadSubject}</title>
537+
<title></title>
538538
</head>
539539
<body>
540540
<div class="message-container">${messageContainer.innerHTML}</div>
541541
</body>
542542
</html>
543543
`)
544+
iframeDocument.title = this.threadSubject
544545
545546
const threadInfo = this.addThreadInfo(iframeDocument)
546547
iframeDocument.body.insertBefore(threadInfo, iframeDocument.body.firstChild)

0 commit comments

Comments
 (0)