Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show exercise title in debug mode; update some exercise titles

  • Loading branch information...
commit f4f2160ee8f82fa874ee214cb258c39235d0689b 1 parent 80dfb6c
@beneater beneater authored
View
2  exercises/lhopitals_rule.html
@@ -2,7 +2,7 @@
<html data-require="math math-format calculus polynomials expressions">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>L'Hopital's rule</title>
+ <title>L'Hôpital's rule</title>
<script src="../khan-exercise.js"></script>
</head>
<body>
View
2  exercises/quadratic_equation.html
@@ -2,7 +2,7 @@
<html data-require="math polynomials expressions math-format">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Quadratic equation</title>
+ <title>Quadratic formula</title>
<script src="../khan-exercise.js"></script>
</head>
<body>
View
3  khan-exercise.js
@@ -2675,7 +2675,8 @@ var Khan = (function() {
function injectTestModeSite(html, htmlExercise) {
$("body").prepend(html);
- $("#container").html(htmlExercise);
+ $("#container").html("<h2 style='padding-left: 20px; margin-left: 80px;'>"
+ + document.title + "</h2>" + htmlExercise);
if (Khan.query.layout === "lite") {
$("html").addClass("lite");

1 comment on commit f4f2160

@beneater
Owner

@spicyj review?

Please sign in to comment.
Something went wrong with that request. Please try again.