◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:AVGplayer/js”的版本间的差异
(黑屏不切断BGM) |
|||
第133行: | 第133行: | ||
function avgcreat(){ | function avgcreat(){ | ||
$(".avgchoice").click(function(){ | $(".avgchoice").click(function(){ | ||
+ | if (window.pauseMainBgm) window.pauseMainBgm(); | ||
var xmlhttp = new XMLHttpRequest(); | var xmlhttp = new XMLHttpRequest(); | ||
xmlhttp.onreadystatechange = function() { | xmlhttp.onreadystatechange = function() { | ||
第370行: | 第371行: | ||
if(endsign == 1 && !avgnextline) { | if(endsign == 1 && !avgnextline) { | ||
$("#avgline").html(`<div class="endsigndiv">${$("#avgtitle").html()} END</div>`); | $("#avgline").html(`<div class="endsigndiv">${$("#avgtitle").html()} END</div>`); | ||
+ | setTimeout(function() { | ||
+ | if (endsign != 1 && window.resumeMainBgm) window.resumeMainBgm(); | ||
+ | }, 1000); | ||
return; | return; | ||
} | } |