rm useless console.log
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dplayer",
|
"name": "dplayer",
|
||||||
"version": "1.10.2",
|
"version": "1.10.3",
|
||||||
"description": "Wow, such a lovely HTML5 danmaku video player",
|
"description": "Wow, such a lovely HTML5 danmaku video player",
|
||||||
"main": "dist/DPlayer.min.js",
|
"main": "dist/DPlayer.min.js",
|
||||||
"style": "dist/DPlayer.min.css",
|
"style": "dist/DPlayer.min.css",
|
||||||
|
|||||||
@@ -772,7 +772,6 @@ class DPlayer {
|
|||||||
if (this.video.duration) {
|
if (this.video.duration) {
|
||||||
time = Math.min(time, this.video.duration);
|
time = Math.min(time, this.video.duration);
|
||||||
}
|
}
|
||||||
console.log(time, this.video.currentTime, time - this.video.currentTime);
|
|
||||||
if (this.video.currentTime < time) {
|
if (this.video.currentTime < time) {
|
||||||
this.notice(`${this.tran('FF')} ${(time - this.video.currentTime).toFixed(0)} ${this.tran('s')}`);
|
this.notice(`${this.tran('FF')} ${(time - this.video.currentTime).toFixed(0)} ${this.tran('s')}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user