Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
WenqiOfficial committed Aug 5, 2023
1 parent 02f9d7d commit b7d4e51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion assets/js/mikuplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ var util = {
return stat
},
initStrictMode: function() {
if (util.checkStrictMode()) {
if (util.checkStrictMode()==null) {
localStorage.setItem("conf_strict", 0);
}else if(util.checkStrictMode()){
$("#btt_strict")[0].innerText = '严格模式(离开页面自动停止): 开';
}
},
Expand Down
2 changes: 1 addition & 1 deletion assets/js/mikuplayer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b7d4e51

Please sign in to comment.