]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/bottom.tpl
Merge remote-tracking branch 'remotes/upstream/master'
[friendica.git] / view / theme / dispy / bottom.tpl
index 130bfb25ae4f3004d79a552ef80e1d3d386f4a2f..0bcc3aca4187b03931934e11a0ac071db4d73a24 100644 (file)
@@ -43,4 +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);
+}
 </script>