Skip to content

Commit

Permalink
fix(carousel): play carousel on mouseup (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Kubli authored and valorkin committed Jan 4, 2017
1 parent 19bfb4a commit a1d7983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/carousel/carousel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export enum Direction {UNKNOWN, NEXT, PREV}
@Component({
selector: 'carousel',
template: `
<div (mouseenter)="pause()" (mouseleave)="play()" class="carousel slide">
<div (mouseenter)="pause()" (mouseleave)="play()" (mouseup)="play()" class="carousel slide">
<ol class="carousel-indicators" *ngIf="slides.length > 1">
<li *ngFor="let slidez of slides; let i = index;" [class.active]="slidez.active === true" (click)="selectSlide(i)"></li>
</ol>
Expand Down

0 comments on commit a1d7983

Please sign in to comment.