Sha256: d2a013de4ceafd03e4222baa03b2946a3c2c307388dd914b5b4143ecfa76c2c5
Contents?: true
Size: 696 Bytes
Versions: 56
Compression:
Stored size: 696 Bytes
Contents
SocialStream.Repository = (function(SS, $, undefined){ var init = function(){ $("body").screw({ loadingHTML: '<img src="<%= asset_path('loading.gif') %>">' }); } var toggleDocumentMenu = function(name){ $(".document_menu").each(function(){ console.log($(this)); if($(this).css("display")!="none"){ $(this).slideToggle("slow"); $("#" + $(this).attr('id') + "_action").removeClass("selected"); } }); if($("#document_" + name).css("display")=="none"){ $("#document_" + name).slideToggle("slow"); $("#document_" + name + "_action").addClass("selected"); } } return { init: init, toggleDocumentMenu: toggleDocumentMenu } })(SocialStream, jQuery)
Version data entries
56 entries across 56 versions & 2 rubygems