mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-10 03:03:08 -08:00
Set title of external window
This commit is contained in:
parent
8708f817fa
commit
ec567f67d3
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ exports.startup = function() {
|
|||
// Initialise the document
|
||||
srcDocument.write("<html><head></head><body class='tc-body'></body></html>");
|
||||
srcDocument.close();
|
||||
srcDocument.title = title;
|
||||
srcWindow.addEventListener("beforeunload",function(event) {
|
||||
$tw.wiki.removeEventListener("change",refreshHandler);
|
||||
},false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue