Skip to content

Commit

Permalink
Do not write to readonly _isFinished
Browse files Browse the repository at this point in the history
The property _isFinished is readonly. cancel() should not attempt to
write to the property.

resolves web-animations#160
  • Loading branch information
ericwilligers committed Aug 13, 2017
1 parent ec226e6 commit e2782af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@
this._inEffect = false;
this._idle = true;
this._paused = false;
this._isFinished = true;
this._finishedFlag = true;
this._currentTime = 0;
this._startTime = null;
Expand Down

0 comments on commit e2782af

Please # to comment.