pass page title to the iframe

This commit is contained in:
igoradamenko
2019-01-06 20:55:40 +02:00
parent d8c20da881
commit 52578221a9
2 changed files with 14 additions and 0 deletions
+4
View File
@@ -104,6 +104,10 @@
if (isItHash) {
location.replace(data.hash);
}
if (data.title) {
document.title = data.title;
}
} catch (e) {}
}
</script>