]> git.mxchange.org Git - friendica.git/commitdiff
add doctitle thingy, and update cursor
authorSimon L'nu <simon.lnu@gmail.com>
Fri, 13 Jul 2012 08:35:16 +0000 (04:35 -0400)
committerSimon L'nu <simon.lnu@gmail.com>
Fri, 13 Jul 2012 08:35:16 +0000 (04:35 -0400)
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
view/theme/dispy/bottom.tpl
view/theme/dispy/icons/sparkle.cur

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>
index c45cd1648a277f18cfefcbf0d4a44592df016b5f..253259d8d54f755a2ba244be61fe5b9b58e5efcd 100644 (file)
Binary files a/view/theme/dispy/icons/sparkle.cur and b/view/theme/dispy/icons/sparkle.cur differ