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

fixed small bug in base.js

This commit is contained in:
llj
2013-12-21 17:30:22 +08:00
parent 6e5a19e92e
commit 68994cfd06

View File

@@ -35,7 +35,9 @@ $('#msg-count').click(function() {
var popup = $('#user-info-popup');
$(window).load(function() {
popup.css({'right': my_info.parent().width() - my_info.position().left - my_info.outerWidth()});
if (my_info.length > 0) { // before login, no 'my_info'
popup.css({'right': my_info.parent().width() - my_info.position().left - my_info.outerWidth()});
}
});
my_info.click(function() {
var loading_tip = $('.loading-tip', popup);