2010-11-16 01:45:58 +00:00
|
|
|
/**
|
|
|
|
* modplus.js
|
|
|
|
* (c) 2010 StatusNet, Inc
|
|
|
|
*/
|
|
|
|
|
|
|
|
$(function() {
|
2011-03-18 23:35:50 +00:00
|
|
|
// Notice lists...
|
2011-03-18 23:23:22 +00:00
|
|
|
$('.notice .author').live('mouseenter', function(e) {
|
|
|
|
var notice = $(this).closest('.notice');
|
|
|
|
var popup = notice.find('.remote-profile-options');
|
|
|
|
if (popup.length) {
|
|
|
|
popup.fadeIn();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
$('.notice').live('mouseleave', function(e) {
|
|
|
|
var notice = $(this);
|
|
|
|
var popup = notice.find('.remote-profile-options');
|
|
|
|
if (popup.length) {
|
|
|
|
popup.fadeOut();
|
2010-11-16 01:45:58 +00:00
|
|
|
}
|
|
|
|
});
|
2011-03-18 23:35:50 +00:00
|
|
|
|
|
|
|
// Profile lists...
|
|
|
|
$('.profile .avatar').live('mouseenter', function(e) {
|
|
|
|
var profile = $(this).closest('.profile');
|
|
|
|
var popup = profile.find('.remote-profile-options');
|
|
|
|
if (popup.length) {
|
|
|
|
popup.fadeIn();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
$('.profile').live('mouseleave', function(e) {
|
|
|
|
var profile = $(this);
|
|
|
|
var popup = profile.find('.remote-profile-options');
|
|
|
|
if (popup.length) {
|
|
|
|
popup.fadeOut();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2010-11-16 01:45:58 +00:00
|
|
|
});
|