Merge pull request #392 from simonlnu/master
add doctitle thingy, and update cursor
This commit is contained in:
commit
c3fc5ddae6
2 changed files with 13 additions and 0 deletions
|
@ -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 |
Loading…
Reference in a new issue