]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #392 from simonlnu/master
authorSimon <simon@kisikew.org>
Fri, 13 Jul 2012 08:35:55 +0000 (01:35 -0700)
committerSimon <simon@kisikew.org>
Fri, 13 Jul 2012 08:35:55 +0000 (01:35 -0700)
add doctitle thingy, and update cursor

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