зеркало из https://github.com/mozilla/pjs.git
Support titledefault in tabbed browsing.
This commit is contained in:
Родитель
58dace9b1b
Коммит
0417751c3a
|
@ -352,6 +352,9 @@
|
||||||
if (this.docShell.contentViewer)
|
if (this.docShell.contentViewer)
|
||||||
docTitle = this.contentDocument.title;
|
docTitle = this.contentDocument.title;
|
||||||
|
|
||||||
|
if (!docTitle)
|
||||||
|
docTitle = this.ownerDocument.documentElement.getAttribute("titledefault");
|
||||||
|
|
||||||
if (docTitle) {
|
if (docTitle) {
|
||||||
newTitle += this.ownerDocument.documentElement.getAttribute("titlepreface");
|
newTitle += this.ownerDocument.documentElement.getAttribute("titlepreface");
|
||||||
newTitle += docTitle;
|
newTitle += docTitle;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче