rm useless console.log

This commit is contained in:
DIYgod 2017-09-15 00:57:16 +08:00
parent d40f1f19d7
commit 2323e73e30
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
4 changed files with 3 additions and 4 deletions

2
dist/DPlayer.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "dplayer",
"version": "1.10.2",
"version": "1.10.3",
"description": "Wow, such a lovely HTML5 danmaku video player",
"main": "dist/DPlayer.min.js",
"style": "dist/DPlayer.min.css",

View File

@ -772,7 +772,6 @@ class DPlayer {
if (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) {
this.notice(`${this.tran('FF')} ${(time - this.video.currentTime).toFixed(0)} ${this.tran('s')}`);
}