diff options
author | friendica <info@friendica.com> | 2015-02-20 14:07:49 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-20 14:07:49 -0800 |
commit | 9bd56202b4f279acea5c428802b3079329e14c89 (patch) | |
tree | 9001de7e7b9ea12904d9f99d7760910e7fe05e94 /view | |
parent | 835b2594550a8f53ec5beee370129e2add162ab0 (diff) | |
parent | 035441550cc68d7257e93b37ba553229dde1aa0f (diff) | |
download | volse-hubzilla-9bd56202b4f279acea5c428802b3079329e14c89.tar.gz volse-hubzilla-9bd56202b4f279acea5c428802b3079329e14c89.tar.bz2 volse-hubzilla-9bd56202b4f279acea5c428802b3079329e14c89.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index 18004726e..a10e91449 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -563,10 +563,19 @@ function updateConvItems(mode,data) { } prev = ident; }); - + if(loadingPage) { loadingPage = false; } + + if (window.location.search.indexOf("mid=") != -1 || window.location.pathname.indexOf("display") != -1) { + var title = $(".wall-item-title").text(); + title.replace(/^\s+/, ''); + title.replace(/\s+$/, ''); + if (title) + document.title = title + " - " + document.title; + } + } $('.like-rotator').spin(false); |