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.
1 parent ac15e21 commit c1ab780Copy full SHA for c1ab780
dist/danmaku.js
@@ -123,7 +123,7 @@ var domEngine = function() {
123
var cmt = null;
124
var cmtt = 0;
125
var i = 0;
126
- for (i = 0; i < this.runningList.length; i++) {
+ for (i = this.runningList.length - 1; i >= 0; i--) {
127
cmt = this.runningList[i];
128
cmtt = this._hasMedia ? cmt.time : cmt._utc;
129
if (ct - cmtt > this.duration) {
@@ -272,7 +272,7 @@ var canvasEngine = function() {
272
273
274
275
276
277
278
0 commit comments