소스 검색

Add files via upload

Daniele Bonini (皮夕): WebDev, DevOps and homomm.org by lots of Simplicity bits 3 년 전
부모
커밋
2771673f72
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      Private/scripts/home.php

+ 1 - 2
Private/scripts/home.php

@@ -1077,7 +1077,7 @@ function updateHistory(&$update, $maxItems) {
     
     <br><br><br>
     
-<audio id="mybeep">
+<audio id="mybeep" preload="auto">
   <source src="https://dev-homomm.from.craft2.cyou/media/R2D2-hey-you.mp3" type="audio/mpeg">
   Maybe doesn't support the audio..
 </audio>  
@@ -1088,7 +1088,6 @@ function updateHistory(&$update, $maxItems) {
   function playmybeep() {
     document.getElementById("mybeep").volume = 1;
     document.getElementById("mybeep").play(); 
-    return false;
   }  
 </script>