diff --git a/app/views/schedule/index.html.erb b/app/views/schedule/index.html.erb index 98aea947..e16bd88a 100644 --- a/app/views/schedule/index.html.erb +++ b/app/views/schedule/index.html.erb @@ -54,7 +54,7 @@ :style => "padding:8px;" %> <%- end %>
- + <%= event[0].title %> <% unless event[0].subtitle.blank? %> @@ -64,12 +64,12 @@
- + <%= "#{speaker.name}" %> <% if event[0].track%> - + <%= event[0].track.name %> <% end -%> @@ -94,18 +94,18 @@ <%= javascript_tag do %> - jQuery( function($) { - $('tbody tr td[data-href]').addClass('clickable').mouseup(function(e) { + jQuery( function($) { + $('tbody tr td[data-href]').addClass('clickable').mouseup(function(e) { if(e.which===1) { - window.location = $(this).attr('data-href'); + window.location = $(this).attr('data-href'); } else if(e.which===2) { window.open($(this).attr('data-href'), '_blank'); } - }); -}); + }); +}); $(function() { // add a hash to the URL when the user clicks on a tab