Merge pull request #392 from simonlnu/master

add doctitle thingy, and update cursor
This commit is contained in:
Simon 2012-07-13 01:35:55 -07:00
commit c3fc5ddae6
2 changed files with 13 additions and 0 deletions

View 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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 20 KiB