mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 10:34:38 -05:00
remove beta labels for autoplay :3
This commit is contained in:
parent
3bc2f34856
commit
c298f3056a
1 changed files with 3 additions and 4 deletions
|
@ -1066,9 +1066,8 @@ display: block; !important;" autoplay controls
|
||||||
|
|
||||||
<div class="recommended-list" align="center">
|
<div class="recommended-list" align="center">
|
||||||
<div style="text-align: left;" class="auto-play">
|
<div style="text-align: left;" class="auto-play">
|
||||||
<label for="continue">[BETA] AutoPlay:</label>
|
<label for="continue">AutoPlay:</label>
|
||||||
<input name="continue" id="continue" type="checkbox" >
|
<input name="continue" id="continue" type="checkbox" >
|
||||||
<a href="https://codeberg.org/Ashley/poketube/issues/new">give feedback</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tags rec" >
|
<div class="tags rec" >
|
||||||
|
@ -1238,7 +1237,7 @@ checkbox = document.getElementById("continue");
|
||||||
checkbox.addEventListener('change', function(e) {
|
checkbox.addEventListener('change', function(e) {
|
||||||
if(checkbox.checked) {
|
if(checkbox.checked) {
|
||||||
|
|
||||||
console.log("[AUTOPLAY BETA] enabled")
|
console.log("[AUTOPLAY] enabled")
|
||||||
|
|
||||||
document.getElementById('video').addEventListener('ended',autoplaynextvideo,false);
|
document.getElementById('video').addEventListener('ended',autoplaynextvideo,false);
|
||||||
|
|
||||||
|
@ -1258,7 +1257,7 @@ checkbox.addEventListener('change', function(e) {
|
||||||
if (/[?&]autoplay=/.test(location.search)) {
|
if (/[?&]autoplay=/.test(location.search)) {
|
||||||
checkbox.checked = true;
|
checkbox.checked = true;
|
||||||
|
|
||||||
console.log("[AUTOPLAY BETA] enabled")
|
console.log("[AUTOPLAY] enabled")
|
||||||
|
|
||||||
document.getElementById('video').addEventListener('ended',autoplaynextvideo,false);
|
document.getElementById('video').addEventListener('ended',autoplaynextvideo,false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue