2010-11-16 10:45:58 +09:00
|
|
|
/**
|
|
|
|
* modplus.js
|
|
|
|
* (c) 2010 StatusNet, Inc
|
|
|
|
*/
|
|
|
|
|
|
|
|
$(function() {
|
2011-03-19 08:23:22 +09: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 10:45:58 +09:00
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|