Permalink
Browse files

minor fix to event calendar js

  • Loading branch information...
jlapier committed Apr 27, 2012
1 parent 2908368 commit f535c88672dc0d1add1c487e44fe5cabcbcffc59
Showing with 1 addition and 2 deletions.
  1. +0 −1 app/helpers/event_calendar/events_helper.rb
  2. +1 −1 public/javascripts/app.js
@@ -107,7 +107,6 @@ def event_times(event)
t = []
event_times = times_with_zones(event)
event_times.first.each_with_index do |z_t, i|
- puts z_t.inspect
t << "#{z_t.last} - #{event_times.last[i].last} " + content_tag(:em, z_t.first)
end
t.join(" / ").html_safe
@@ -10,7 +10,7 @@ var updateEventDescription = function(event, jsEvent) {
$("#event_mini_description").empty();
$("#event_mini_description").append(
$('<div/>', { style : 'float:right' }).append(
- $('<a/>', { text : 'X', onclick : '$("#event_mini_description").hide()' })
+ $('<a/>', { text : 'X', onclick : '$("#event_mini_description").hide()', href : '#' })
)
).append(event.brief);
$("#event_mini_description").show();

0 comments on commit f535c88

Please sign in to comment.