Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
fix(monthView): dont call on-timespan-click when clicking on an event…
Browse files Browse the repository at this point in the history
… on the month cell

Closes #345
  • Loading branch information
Matt Lewis committed Jun 1, 2016
1 parent 08aac3a commit a194fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/calendarMonthCellEvents.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a
ng-repeat="event in day.events | orderBy:'startsAt' track by event.$id"
href="javascript:;"
ng-click="vm.onEventClick({calendarEvent: event})"
ng-click="$event.stopPropagation(); vm.onEventClick({calendarEvent: event})"
class="pull-left event"
ng-class="'event-' + event.type + ' ' + event.cssClass"
ng-mouseenter="vm.highlightEvent(event, true)"
Expand Down

0 comments on commit a194fb0

Please sign in to comment.