X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook%2Fbottom.tpl;h=0ab7de78e769f45ca3187603b6f84b58f1357e15;hb=9cabcad36c505cd8a0eb93f720c87721c3a603b3;hp=50a15788de8a99f86a3e1c6d1f445260d47c9159;hpb=584b15aaecbf6f58cda2031908f0319c6dfc0700;p=friendica.git diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index 50a15788de..0ab7de78e7 100644 --- a/view/theme/diabook/bottom.tpl +++ b/view/theme/diabook/bottom.tpl @@ -42,6 +42,7 @@ $(document).ready(function() { }); + function tautogrow(id){ $("textarea#comment-edit-text-" +id).autogrow(); }; @@ -128,6 +129,17 @@ $(document).ready(function() { function cmtBbClose(id) { $(".comment-edit-bb-" + id).hide(); } + + $(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); + })