X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Fbottom.tpl;h=0bcc3aca4187b03931934e11a0ac071db4d73a24;hb=10ce535cacc8db484a8a491c7395d1ae71eaf337;hp=1af83e4c8c9d4dde52ced203c209255a54752f43;hpb=1a13c56fef31ccff494e33cc5634eed6cd567eb5;p=friendica.git diff --git a/view/theme/dispy/bottom.tpl b/view/theme/dispy/bottom.tpl index 1af83e4c8c..0bcc3aca41 100644 --- a/view/theme/dispy/bottom.tpl +++ b/view/theme/dispy/bottom.tpl @@ -43,5 +43,17 @@ function insertFormatting(comment, BBcode, id) { function cmtBbOpen(id) { $(".comment-edit-bb-" + id).show(); } +function cmtBbClose(id) { + $(".comment-edit-bb-" + id).hide(); +} + +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); +} -