diff --git a/client/commonFramework.js b/client/commonFramework.js
index dd91756e06..45589df873 100644
--- a/client/commonFramework.js
+++ b/client/commonFramework.js
@@ -421,7 +421,7 @@ function showCompletion() {
);
var bonfireSolution = myCodeMirror.getValue();
var didCompleteWith = $('#completed-with').val() || null;
- $('#complete-courseware-dialog').modal('show');
+ $('#complete-courseware-dialog').modal('show').focus();
$('#submit-challenge').click(function(e) {
e.preventDefault();
@@ -639,6 +639,9 @@ var runTests = function(err, data) {
allTestsPassed = false;
showCompletion();
}
+ else{
+ isInitRun = false;
+ }
}
};
@@ -755,7 +758,6 @@ $(document).ready(function() {
allSeeds;
myCodeMirror.setValue(replaceSafeTags(editorValue));
-
if (typeof $preview.html() !== 'undefined') {
$preview.load(function() {
if (initPreview) {
diff --git a/common/app/routes/Bonfires/README.md b/common/app/routes/Bonfires/README.md
index d28c45c44e..047bc43183 100644
--- a/common/app/routes/Bonfires/README.md
+++ b/common/app/routes/Bonfires/README.md
@@ -1 +1 @@
-This folder contains things relative to the bonfires screens
+This folder contains things relative to the bonfires' screens
diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json
index 5ba079231a..95c185354e 100644
--- a/seed/challenges/html5-and-css.json
+++ b/seed/challenges/html5-and-css.json
@@ -3053,7 +3053,7 @@
"Let's try this again, but with margin
this time.",
"Instead of specifying an element's margin-top
, margin-right
, margin-bottom
, and margin-left
properties, you can specify them all in one line, like this: margin: 10px 20px 10px 20px;
.",
"These four values work like a clock: top, right, bottom, left, and will produce the exact same result as using the side-specific margin instructions.",
- "Use Clockwise Notation
to give an element a margin of 40px
on its top and left side, but only 20px
on its bottom and right side."
+ "Use Clockwise Notation
to give the element with the green-box
class a margin of 40px
on its top and left side, but only 20px
on its bottom and right side."
],
"tests": [
"assert($(\".green-box\").css(\"margin-top\") === \"40px\", 'Your green-box
class should give the top of elements 40px
of margin
.')",