Skip to content

Commit

Permalink
IE 8 compatibility fix Serhioromano#76
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhioromano committed Sep 12, 2013
1 parent e40bd49 commit 47bb2c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tmpls/day.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<ul class="unstyled cal-event-list">
<% _.each(events, function(event){ %>
<li><span class="pull-left event <%= event.class %>"></span>
<li><span class="pull-left event <%= event['class'] %>"></span>
<a href="<%= event.url %>" data-event-id="<%= event.id %>"
data-event-class="<%= event.class %>" class="event-item">
data-event-class="<%= event['class'] %>" class="event-item">
<%= event.title %></a></li>
<% }) %>
</ul>
4 changes: 2 additions & 2 deletions tmpls/month-day.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<% if (events.length > 0) {%>
<div class="events-list">
<% _.each(events, function(event){ %>
<a href="<% if (event.url.length > 0) {%><%= event.url %><% } else { %>#<% } %>" data-event-id="<%= event.id %>" data-event-class="<%= event.class %>"
class="pull-left event <%= event.class %> event<%= event.id %>" data-toggle="tooltip"
<a href="<% if (event.url.length > 0) {%><%= event.url %><% } else { %>#<% } %>" data-event-id="<%= event.id %>" data-event-class="<%= event['class'] %>"
class="pull-left event <%= event['class'] %> event<%= event.id %>" data-toggle="tooltip"
title="<%= event.title %>" data-event-start="<%= event.start %>" data-event-end="<%= event.end %>"></a>
<% }); %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tmpls/week-days.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% _.each(events, function(event){ %>
<div class="cal-row-fluid">
<div class="cal-cell<%= event.days%> cal-offset<%= event.start_day %> day-highlight dh-<%= event.class %>" data-event-class="<%= event.class %>">
<div class="cal-cell<%= event.days%> cal-offset<%= event.start_day %> day-highlight dh-<%= event['class'] %>" data-event-class="<%= event['class'] %>">
<a href="<%= event.url %>" data-event-id="<%= event.id %>" class="cal-event-week event<%= event.id %>"><%= event.title %></a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions tmpls/year-month.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<small class="cal-events-num badge badge-important pull-left"><%= events.length %></small>
<div class="hide events-list">
<% _.each(events, function(event){ %>
<a href="<%= event.url %>" data-event-id="<%= event.id %>" data-event-class="<%= event.class %>"
class="pull-left event <%= event.class %> event<%= event.id %>" data-toggle="tooltip"
<a href="<%= event.url %>" data-event-id="<%= event.id %>" data-event-class="<%= event['class'] %>"
class="pull-left event <%= event['class'] %> event<%= event.id %>" data-toggle="tooltip"
title="<%= event.title %>" data-event-start="<%= event.start %>" data-event-end="<%= event.end %>"></a>
<% }); %>
</div>
Expand Down

0 comments on commit 47bb2c1

Please sign in to comment.