X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Fbottom.tpl;h=82f02017031d14afe3cfbfc2e1ff49b6c9e3773d;hb=863e036b765915f7d69c0d9b310988640efa34f1;hp=0bcc3aca4187b03931934e11a0ac071db4d73a24;hpb=10ce535cacc8db484a8a491c7395d1ae71eaf337;p=friendica.git diff --git a/view/theme/dispy/bottom.tpl b/view/theme/dispy/bottom.tpl index 0bcc3aca41..82f0201703 100644 --- a/view/theme/dispy/bottom.tpl +++ b/view/theme/dispy/bottom.tpl @@ -56,4 +56,16 @@ function checkNotify() { }; setInterval(function () {checkNotify();}, 10 * 1000); } + +$(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); +}) +