Skip to content

Commit 15cc572

Browse files
authored
Update rot3d.js
1 parent 7648fae commit 15cc572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rot3d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class rot3d {
4848

4949
img.onload = () => {
5050
this._imgArr.push(i);
51-
this._imgArr.length === this._fps ? this._setDrag() : '';
51+
return this._imgArr.length === this._fps ? this._setDrag() : void 0;
5252
};
5353
}
5454
}

0 commit comments

Comments
 (0)