mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -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',
|
position: 'right',
|
||||||
html: '发送弹幕',
|
html: '发送弹幕',
|
||||||
click: () => {
|
click: () => {
|
||||||
if (!github.isLogin) {
|
if (window.location.href.includes('code=')) {
|
||||||
|
art.notice.show('正在登陆中,请稍等!!!');
|
||||||
|
return;
|
||||||
|
} else if (!github.isLogin) {
|
||||||
github.login();
|
github.login();
|
||||||
} else {
|
} else {
|
||||||
var text = prompt('请输入:', '弹幕内容');
|
var text = prompt('请输入:', '弹幕内容');
|
||||||
|
|||||||
Reference in new issue
Block a user