Browse Source

Embedded PDF viewers should not be changing their parent page's title.

speedplane 10 years ago
parent
commit
80d85b5fe7
  1. 4
      web/viewer.js

4
web/viewer.js

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

Loading…
Cancel
Save