Update github.js

This commit is contained in:
zhw2590582 committed 2019-04-27 20:30:12 +08:00
1 parent 00d8b77e89
commit ebc0835da4
1 file changed
+4
+4
View File
@@ -21,6 +21,10 @@ var art = new Artplayer({
} else {
var text = prompt('请输入:', '弹幕内容');
if (!text || !text.trim()) return;
if (text.length >= 20) {
art.notice.show('弹幕字数不能大于20字!!!');
return;
}
if (github.remaining <= 10) {
art.notice.show('接口请求到达上限,请稍后再试!!!');
return;