Skip to content

Commit 24422f4

Browse files
committed
'teacher.html'
1 parent 4a458a5 commit 24422f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Day41-55/code/hellodjango/templates/demo/teacher.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ <h1>{{ x.name }}老师</h1>
5858
$(function() {
5959
$('.basic .button').on('click', function(evt) {
6060
evt.preventDefault();
61-
var a = $(evt.target)
62-
var url = a.attr('href')
61+
var a = $(evt.target);
62+
var url = a.attr('href');
6363
$.getJSON(url, function(json) {
6464
if (json.code == 200) {
6565
a.text(json.result);

0 commit comments

Comments
 (0)