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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user