Correction du lecteur
This commit is contained in:
parent
0d8287119b
commit
d26ee3515a
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Breizh autoplay
|
// @name Breizh autoplay
|
||||||
// @version 1
|
// @version 1
|
||||||
|
@ -45,7 +47,7 @@ function ap_next(event) {
|
||||||
let medias = Array.from(document.querySelectorAll("audio"));
|
let medias = Array.from(document.querySelectorAll("audio"));
|
||||||
|
|
||||||
// If there is at least one media
|
// If there is at least one media
|
||||||
if(media.length > 0) {
|
if(medias.length > 0) {
|
||||||
// Create the menu
|
// Create the menu
|
||||||
var ap_menu = document.createElement("div");
|
var ap_menu = document.createElement("div");
|
||||||
ap_menu.id = "ap-menu";
|
ap_menu.id = "ap-menu";
|
||||||
|
|
Loading…
Reference in a new issue