Sha256: 1eb6e121985c06089a6506e2eae21172a3f95cd68fdf14712771c513f0565a7b
Contents?: true
Size: 699 Bytes
Versions: 25
Compression:
Stored size: 699 Bytes
Contents
//= require social_stream/callback SocialStream.Audience = (function(SS, $, undefined) { var callback = new SS.Callback(); var initPrivacyTooltips = function(activityId) { var summaryId = '.audience'; var fullId = '.audience-tooltip'; if (activityId !== undefined) { fullId = '#' + activityId + ' ' + fullId; summaryId = '#' + activityId + ' ' + summaryId; } $(fullId).hide(); $(summaryId).tooltip({ html: true, trigger: 'click hover', title: function(){ return $(this).siblings(fullId).html(); } }); }; callback.register('index', initPrivacyTooltips); return callback.extend({ }); })(SocialStream, jQuery);
Version data entries
25 entries across 25 versions & 2 rubygems