diff options
author | Brion Vibber <brion@pobox.com> | 2010-11-15 17:46:43 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-11-15 17:46:43 -0800 |
commit | eb0495d10719f2be86f8f97e82aaa1b8bf923c7d (patch) | |
tree | 16338e8608856658e188d8f74db6b34108d6d7f1 /plugins | |
parent | e4eb3b3dfd6b9b5cbd1b34d7fc4738b6fd19ee99 (diff) | |
parent | 54de6d3260e7fde77eb86079bd67a815930b8b43 (diff) |
Merge branch 'master' into 0.9.x
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ModPlus/modplus.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/ModPlus/modplus.js b/plugins/ModPlus/modplus.js new file mode 100644 index 000000000..2e90de4f1 --- /dev/null +++ b/plugins/ModPlus/modplus.js @@ -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); + }); +}); |