From 07f6419b972ae9392f66086fc5828bf844868029 Mon Sep 17 00:00:00 2001 From: Claudio Maradonna Date: Thu, 20 Feb 2020 15:19:00 +0100 Subject: [PATCH] Try fix --- _site/feed.xml | 2 +- _site/js/main.js | 3 +-- js/main.js | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/_site/feed.xml b/_site/feed.xml index 7a0da56..5ce8046 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1 +1 @@ -Jekyll2020-02-20T15:12:32+01:00https://www.unitoo.it/feed.xmlUnitooAzienda dedicata allo sviluppo software, alla formazione dei team e alla consulenza informatica \ No newline at end of file +Jekyll2020-02-20T15:18:55+01:00https://www.unitoo.it/feed.xmlUnitooAzienda dedicata allo sviluppo software, alla formazione dei team e alla consulenza informatica \ No newline at end of file diff --git a/_site/js/main.js b/_site/js/main.js index 9ae2067..3539256 100644 --- a/_site/js/main.js +++ b/_site/js/main.js @@ -62,8 +62,7 @@ $(document).ready(function() { var radio_player = document.getElementById("radio-player"); $("#radio-autoplay-button").prop("checked", true); - radio_player.oncanplay = startMusic; - radio_player.oncanplaythrough = startMusic; + startMusic(); } $("#radio-autoplay-button").on("change", function(e) { diff --git a/js/main.js b/js/main.js index 9ae2067..3539256 100644 --- a/js/main.js +++ b/js/main.js @@ -62,8 +62,7 @@ $(document).ready(function() { var radio_player = document.getElementById("radio-player"); $("#radio-autoplay-button").prop("checked", true); - radio_player.oncanplay = startMusic; - radio_player.oncanplaythrough = startMusic; + startMusic(); } $("#radio-autoplay-button").on("change", function(e) {