<script>
Event.observe(window, 'load', function() { displayTabsButtons(); });
- Event.observe(window, 'resize', function() { displayTabsButtons(); });
+ Event.observe(window, 'resize', function() { displayTabsButtons(); });
</script>
<% tabs.each do |tab| -%>
- <%= content_tag('div', render(:partial => tab[:partial], :locals => {:tab => tab} ),
+ <%= content_tag('div', render(:partial => tab[:partial], :locals => {:tab => tab} ),
:id => "tab-content-#{tab[:name]}",
:style => (tab[:name] != selected_tab ? 'display:none' : nil),
:class => 'tab-content') %>