fix a goofy ahh issue

This commit is contained in:
Ashley 2023-02-10 18:10:34 +00:00
parent d448d3229d
commit 72603fd12c

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 ) %>" 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 (/[?&]autoplay=/.test(location.search)) {
if(!chebox.check) { if(!checkbox.checked) {
checkbox.checked = true; checkbox.checked = true;
} }
} }
}); });
if (/[?&]autoplay=/.test(location.search)) { if (/[?&]autoplay=/.test(location.search)) {