Permalink
Browse files

Show exercise title in debug mode; update some exercise titles

  • Loading branch information...
1 parent 80dfb6c commit f4f2160ee8f82fa874ee214cb258c39235d0689b @beneater beneater committed May 21, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −1 exercises/lhopitals_rule.html
  2. +1 −1 exercises/quadratic_equation.html
  3. +2 −1 khan-exercise.js
@@ -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>
@@ -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
@@ -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
Member

@spicyj review?

Please sign in to comment.