Forgot to commit the JS for ModPlus. :)
This commit is contained in:
parent
25170f272c
commit
54de6d3260
23
plugins/ModPlus/modplus.js
Normal file
23
plugins/ModPlus/modplus.js
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
/**
|
||||||
|
* modplus.js
|
||||||
|
* (c) 2010 StatusNet, Inc
|
||||||
|
*/
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
function ModPlus_setup(notice) {
|
||||||
|
if ($(notice).find('.remote-profile-options').size()) {
|
||||||
|
var $options = $(notice).find('.remote-profile-options');
|
||||||
|
$options.prepend($())
|
||||||
|
$(notice).find('.author').mouseenter(function(event) {
|
||||||
|
$(notice).find('.remote-profile-options').fadeIn();
|
||||||
|
});
|
||||||
|
$(notice).mouseleave(function(event) {
|
||||||
|
$(notice).find('.remote-profile-options').fadeOut();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$('.notice').each(function() {
|
||||||
|
ModPlus_setup(this);
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user