aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-28 16:33:24 -0700
committerfriendica <info@friendica.com>2013-05-28 16:33:24 -0700
commit6bb35832674e35aa4505cd636b6f42c6d0a1a7f4 (patch)
tree89aeeac25abedeec92a1a6503ec7db1877eb4189 /view/theme/redbasic/js/redbasic.js
parent281d73b03adb4906acd9483911aa8edb04e68f6b (diff)
parent5f629ea6102acb0c117c2152e5bc7404b3b8b668 (diff)
downloadvolse-hubzilla-6bb35832674e35aa4505cd636b6f42c6d0a1a7f4.tar.gz
volse-hubzilla-6bb35832674e35aa4505cd636b6f42c6d0a1a7f4.tar.bz2
volse-hubzilla-6bb35832674e35aa4505cd636b6f42c6d0a1a7f4.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 00b8fa39f..c1f67dcd5 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -86,4 +86,13 @@ $('.savedsearchterm').hover(
});
-
+ $(document).ready(function(){
+ var doctitle = document.title;
+ function checkNotify() {
+ if(document.getElementById("notify-update").innerHTML != "")
+ document.title = "("+document.getElementById("notify-update").innerHTML+") " + doctitle;
+ else
+ document.title = doctitle;
+ };
+ setInterval(function () {checkNotify();}, 10 * 1000);
+ }) \ No newline at end of file