|
|
@ -434,6 +434,10 @@ var PDFViewerApplication = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setTitle: function pdfViewSetTitle(title) { |
|
|
|
setTitle: function pdfViewSetTitle(title) { |
|
|
|
|
|
|
|
if (this.isViewerEmbedded) { |
|
|
|
|
|
|
|
// Embedded PDF viewers should not be changing their parent page's title.
|
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
document.title = title; |
|
|
|
document.title = title; |
|
|
|
//#if B2G
|
|
|
|
//#if B2G
|
|
|
|
// document.getElementById('activityTitle').textContent = title;
|
|
|
|
// document.getElementById('activityTitle').textContent = title;
|
|
|
|