From e79ed97a942b2f4b344c823ea4fcc348564d81e0 Mon Sep 17 00:00:00 2001 From: James Mason Date: Fri, 15 Aug 2014 18:42:14 -0700 Subject: [PATCH] Switch schedule glyphs to FontAwesome --- app/views/schedule/index.html.erb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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