Sha256: 8ae3eaa3106add2c4578717af15d1620c25308cc2b8355d4ae452f16ba12bed9
Contents?: true
Size: 842 Bytes
Versions: 11
Compression:
Stored size: 842 Bytes
Contents
<% content_for :head do -%> <%= javascript_include_tag 'muck_services.js' %> <%= javascript_tag %[var ADD_SHARE_MESSAGE = '#{t('muck.shares.adding_share')}';] %> <% end -%> <% content_for :javascript do -%> jQuery(document).ready(function() { <%= "show_tool('comments');" if params[:show_comments] || @entry.comment_count > 0 -%> jQuery(window).bind('resize', function() { maximize_space(); }); jQuery('#comment').click(function(){ return show_tool('comments'); }); jQuery('#share').click(function(){ return show_tool('share'); }); jQuery('.close_link').click(function(){ jQuery('.tool').hide(); jQuery("#content_iframe").width('100%'); return false; }); setup_entry_comment_submit(); setup_share_submit(); apply_frame_comment_hover(); }); <% end -%>
Version data entries
11 entries across 11 versions & 1 rubygems