1
Fork 0

fix a goofy ahh issue

This commit is contained in:
Ashley 2023-02-10 18:10:34 +00:00
parent 2506416c00
commit 440c99d850

View file

@ -1161,11 +1161,13 @@ checkbox.addEventListener('change', function(e) {
location.href = "/watch?v=<%- k.Video.Recommendations.Video[0].id%>&autoplay=<%-btoa("1f739d935676111cfff4b4693e3816e664797050" + k.Video.Recommendations.Video[0].id ) %>"
}
}
if (/[?&]autoplay=/.test(location.search)) {
if(!chebox.check) {
if(!checkbox.checked) {
checkbox.checked = true;
}
}
});
if (/[?&]autoplay=/.test(location.search)) {