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(){
2020 {
2121 url : "https://api.github.com/users/" + username ,
2222 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+
3025 $ ( "<span/>" ,
3126 {
3227 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>
7070 < div class ="alignment ">
7171 < div id ="teacher-avatar " class =""> </ div >
7272 < div class ="" id ="teacher-info ">
73- < div id ="teacher-name "> </ div >
73+
74+ < h3 id ="teacher-name "> </ h3 >
7475
7576 < span id ="teacher-username ">
7677 < span class ="octicon octicon-octoface "> </ span >
You can’t perform that action at this time.
0 commit comments