File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,8 @@ $(function(){
20
20
{
21
21
url : "https://api.github.com/users/" + username ,
22
22
success : function ( data , textStatus , jqXHR ) {
23
-
24
- $ ( "<span/>" ,
25
- {
26
- class : "teacher-name" ,
27
- text : data . name
28
- } ) . appendTo ( "#teacher-name" ) ;
29
-
23
+ $ ( "#teacher-name" ) . html ( data . name ) ;
24
+
30
25
$ ( "<span/>" ,
31
26
{
32
27
text : data . login
Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ <h4 class="modal-title" id="timerModalLabel">Help / Shortcuts</h4>
70
70
< div class ="alignment ">
71
71
< div id ="teacher-avatar " class =""> </ div >
72
72
< div class ="" id ="teacher-info ">
73
- < div id ="teacher-name "> </ div >
73
+
74
+ < h3 id ="teacher-name "> </ h3 >
74
75
75
76
< span id ="teacher-username ">
76
77
< span class ="octicon octicon-octoface "> </ span >
You can’t perform that action at this time.
0 commit comments