Commit 9a8878142381294a23f9e7eb2b5c54808af8ebd8
1 parent
14fdd18b
add title
Showing
1 changed file
with
5 additions
and
1 deletions
src/js/gbreplayer.js
| ... | ... | @@ -24,8 +24,12 @@ $(function(){ |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | if(document.URL.indexOf('player.htm')>=0){ |
| 27 | - var title = getQuery('chapterId'); | |
| 27 | + | |
| 28 | + var title = getQuery('title'); | |
| 28 | 29 | $('.m-title').html(title); |
| 30 | + | |
| 31 | + alert(title) | |
| 32 | + | |
| 29 | 33 | if (_role == 0) { |
| 30 | 34 | var apiUrl = gxb_api + "/programming/codeReplay/" + _codeReplayId + "/api"; |
| 31 | 35 | getLangid(apiUrl); | ... | ... |