Update github.js

This commit is contained in:
zhw2590582 committed 2019-04-27 21:33:56 +08:00
1 parent cd9c897c30
commit abaf47b380
1 file changed
+4 -1
+4 -1
View File
@@ -17,7 +17,10 @@ var art = new Artplayer({
position: 'right',
html: '发送弹幕',
click: () => {
if (!github.isLogin) {
if (window.location.href.includes('code=')) {
art.notice.show('正在登陆中,请稍等!!!');
return;
} else if (!github.isLogin) {
github.login();
} else {
var text = prompt('请输入:', '弹幕内容');