diff options
Diffstat (limited to 'static/js/home.js')
-rw-r--r-- | static/js/home.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/js/home.js b/static/js/home.js index 0c921ec..6c9e23a 100644 --- a/static/js/home.js +++ b/static/js/home.js @@ -154,6 +154,8 @@ http_request.onreadystatechange = function() { function parse() { localStorage.setItem("home", JSON.stringify(opcs)); } document.addEventListener("DOMContentLoaded", function() { + window.parent.document.title = document.getElementsByTagName("title")[0].textContent; + if (localStorage.hasOwnProperty("home")) opcs=JSON.parse(localStorage.getItem("home")); else { opcs={"style":"IB","auto":false,"sound":false,"last":0}; parse(); } set_stylesheet(opcs.style); |