mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
Update github.js
This commit is contained in:
1 parent
cd9c897c30
commit
abaf47b380
1 file changed
+4
-1
@@ -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('请输入:', '弹幕内容');
|
||||
|
||||
Reference in new issue
Block a user