aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-26 17:21:33 -0700
committerzotlabs <mike@macgirvin.com>2017-08-26 17:21:33 -0700
commit187f19b1704b8a877b53a3e66c67ec26383a3ee9 (patch)
tree848794386527dc243ef7b29a3f9fb2a618e0e0ee /view/js/main.js
parent0098dce5976bffb23dbb31d151d2d871c7cab8f9 (diff)
downloadvolse-hubzilla-187f19b1704b8a877b53a3e66c67ec26383a3ee9.tar.gz
volse-hubzilla-187f19b1704b8a877b53a3e66c67ec26383a3ee9.tar.bz2
volse-hubzilla-187f19b1704b8a877b53a3e66c67ec26383a3ee9.zip
fix titles on ajaxupdate issue, add jsonld-php library
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index ece4c2015..47815d2c6 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -596,8 +596,9 @@ function updateConvItems(mode,data) {
var title = $(".wall-item-title").text();
title.replace(/^\s+/, '');
title.replace(/\s+$/, '');
- if (title)
- document.title = title + " - " + document.title;
+ if (title) {
+ savedTitle = title + " " + savedTitle;
+ }
}
}
});