Commit 7a2311dab4bff465bf6964461b0ece5d74779d98
1 parent
13ec676c
add gaoliang
Showing
2 changed files
with
2 additions
and
2 deletions
src/live/js/teacher.js
| ... | ... | @@ -109,11 +109,10 @@ $(function(){ |
| 109 | 109 | function liveStartFun(){ |
| 110 | 110 | // $('.tip-wrap').show(); |
| 111 | 111 | var seconds = 2; |
| 112 | - socket.emit('start.live') | |
| 113 | 112 | $('.countdown').show(); |
| 114 | 113 | $('#liveStart').hide(); |
| 115 | 114 | $('#liveEnd').show(); |
| 116 | - | |
| 115 | + socket.emit('start.live'); | |
| 117 | 116 | // 倒计时 |
| 118 | 117 | var countdown = setInterval(function() { |
| 119 | 118 | $(".countdown h1").html(seconds); | ... | ... |
src/live/teacher.html