1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

Merge pull request #608 from haiwen/lib_transfer_and_desc

Lib transfer and desc
This commit is contained in:
Daniel Pan
2015-05-26 16:49:25 +08:00
11 changed files with 41 additions and 41 deletions

View File

@@ -133,7 +133,7 @@ define([
feedback: function(con, type, time) {
var time = time || 5000;
if ($('.messages')[0]) {
if ($('.messages').length > 0) {
$('.messages').html('<li class="' + type + '">' + con + '</li>');
} else {
var html = '<ul class="messages"><li class="' + type + '">' + con + '</li></ul>';