We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8422437 + b8dc873 commit a8e235cCopy full SHA for a8e235c
src/web-animations-next-player.js
@@ -168,13 +168,7 @@
168
// TODO: child players??
169
},
170
cancel: function() {
171
- // FIXME: These currentTime manipulations are a workaround for
172
- // https://github.com/web-animations/web-animations-next/issues/278.
173
- // Remove when Chrome 41 goes stable.
174
- var currentTime = this.currentTime;
175
- this.currentTime = this.source.activeDuration ? this.source.activeDuration / 2 : 1;
176
this._player.cancel();
177
- this.currentTime = currentTime;
178
this._register();
179
this._removePlayers();
180
0 commit comments