Commit 5f52397b6cb89d38b6b0385635f1fdca2fa6cfc0
1 parent
e2b3b72c
fix 老师端只播放代码不播放语音
Showing
1 changed file
with
1 additions
and
1 deletions
src/js/gbreplayer.js
| @@ -479,7 +479,7 @@ $(function(){ | @@ -479,7 +479,7 @@ $(function(){ | ||
| 479 | } | 479 | } |
| 480 | 480 | ||
| 481 | GBCodePlayBack.records = coderecords; | 481 | GBCodePlayBack.records = coderecords; |
| 482 | - if(GBCodePlayBack.playTimes === 0 && _role === 0){ | 482 | + if(GBCodePlayBack.playTimes === 0 && _role == 0){ |
| 483 | if(!isAndroid){ | 483 | if(!isAndroid){ |
| 484 | $.AudioPlayer.play(); | 484 | $.AudioPlayer.play(); |
| 485 | }else{ | 485 | }else{ |