Commit e7f0f0f82a332207ef1b19b20d0739996e708a26

Authored by ykxie
1 parent 029ae92d

fix students file

src/index.html
... ... @@ -26,6 +26,9 @@
26 26 #recordpanel{
27 27 border-right: 1px solid #999;
28 28 }
  29 + .m-label{
  30 + display: none;
  31 + }
29 32 </style>
30 33  
31 34 <script>
... ...
src/js/gbreplayer.js
... ... @@ -479,9 +479,9 @@ $(function(){
479 479 }
480 480  
481 481 GBCodePlayBack.records = coderecords;
482   - if(GBCodePlayBack.playTimes === 0){
  482 + if(GBCodePlayBack.playTimes === 0 && _role === 0){
483 483 if(!isAndroid){
484   - player.play();
  484 + $.AudioPlayer.play();
485 485 }else{
486 486 GBCodePlayBack.playTimes++
487 487 }
... ...