Commit 9f8cd42a authored by svilayphiou's avatar svilayphiou

if `var content = ''`, then the story is not replaced by a file (used for examples)

parent ff042a3e
......@@ -10,7 +10,9 @@ $(function() {
$("#master-page").attr("data-width", $(".paper:first-child").width()).hide();
// Loads main content into <article id="my-story">
$("#my-story").load(content);
if (content) {
$("#my-story").load(content);
}
// ________________________________ PREVIEW __________________________________ //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment