Revision a202beb8
b/snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js | ||
---|---|---|
82 | 82 |
$.each(data, function(i,el) { |
83 | 83 |
if (i == 0){ |
84 | 84 |
username.html('<span>'+el.name+'</span>'); |
85 |
equalWidths ( $('.cloudbar .profile ul'), $('.cloudbar .profile')); |
|
86 | 85 |
username.attr('href', el.url); |
87 | 86 |
user.removeClass('full'); |
88 | 87 |
}else{ |
... | ... | |
113 | 112 |
profile.find(".user > a").attr("href", firstlink); |
114 | 113 |
|
115 | 114 |
// ie fix |
116 |
user.hover(function(){$(this).addClass("hover")}, function(){$(this).removeClass("hover")}); |
|
115 |
user.hover(function(){ |
|
116 |
equalWidths ( $('.cloudbar .profile ul'), $('.cloudbar .profile')); |
|
117 |
$(this).addClass("hover")}, function(){$(this).removeClass("hover")}); |
|
117 | 118 |
$('html').live('click', function(e){ |
118 | 119 |
$('.cloudbar .profile .full>a').removeClass('open'); |
119 | 120 |
$('.cloudbar .profile .full>a').siblings('ul').hide(); |
Also available in: Unified diff