From 73cec16effabe236a4031bba1ec71fed6e4b22e5 Mon Sep 17 00:00:00 2001 From: MaiCong Date: Fri, 23 Feb 2018 15:17:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/music.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/static/js/music.js b/static/js/music.js index 87ee634..96263fe 100644 --- a/static/js/music.js +++ b/static/js/music.js @@ -187,13 +187,9 @@ $(function() { if (!v.title) v.title = '暂无'; if (!v.author) v.author = '暂无'; if (!v.pic) v.pic = nopic; - if (!v.lrc) { - v.lrc = '[00:00.00] 暂无歌词' - v.noLrc = true - }; + if (!v.lrc) v.lrc = '[00:00.00] 暂无歌词' if (!/\[00:(\d{2})\./.test(v.lrc)) { v.lrc = '[00:00.00] 无效歌词'; - v.noLrc = true } }); var setValue = function setValue(data) {