diff options
-rw-r--r-- | app/views/common/_tabs.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/common/_tabs.html.erb b/app/views/common/_tabs.html.erb index c99c6a9f4..601977d14 100644 --- a/app/views/common/_tabs.html.erb +++ b/app/views/common/_tabs.html.erb @@ -17,11 +17,11 @@ <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') %> |