From 8269340a2e52389ede4aafe52090fcc0632022ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Li=C5=A1ka?= Date: Wed, 23 Sep 2020 11:07:41 +0200 Subject: [PATCH] Refactoring mediaSessionInit variable to event option once (part 2) --- app/cyp.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/cyp.js b/app/cyp.js index 903dfb8..50138d1 100644 --- a/app/cyp.js +++ b/app/cyp.js @@ -645,8 +645,6 @@ class App extends HTMLElement { // Init event session (play audio) on click (because restrictions by web browsers) window.addEventListener('click', () => { audio.play(); - alert('ok'); - console.log('ok'); }, {once: true}); // mediaSession define metadata