add doctitle thingy, and update cursor

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu 2012-07-13 04:35:16 -04:00
parent a6de34605d
commit 10ce535cac
2 changed files with 13 additions and 0 deletions

View file

@ -43,4 +43,17 @@ function insertFormatting(comment, BBcode, id) {
function cmtBbOpen(id) { function cmtBbOpen(id) {
$(".comment-edit-bb-" + id).show(); $(".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> </script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 20 KiB