1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

[notice] fixed bugs: 'undefined', repeated ajax requests on login page

This commit is contained in:
llj
2014-07-03 14:56:14 +08:00
parent 568429b0e9
commit 51a3f821cb
2 changed files with 6 additions and 1 deletions

View File

@@ -19,6 +19,11 @@ if ($('.messages')[0]) {
$(function() {
var msg_ct = $("#msg-count");
// for login page
if (msg_ct.length == 0) {
return false;
}
// original title
var orig_doc_title = document.title;
var reqUnreadNum = function() {