Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better check for missing messages in facebook demo

  • Loading branch information...
commit e805590e69b9ae62b94b85f8ae90d21b6f47b0be 1 parent cd94d92
@bdarnell bdarnell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  demos/facebook/templates/modules/post.html
View
2  demos/facebook/templates/modules/post.html
@@ -5,7 +5,7 @@
</div>
<div class="body">
<a href="{{ author_url }}" class="actor">{{ escape(post["from"]["name"]) }}</a>
- {% if post["message"] %}
+ {% if "message" in post %}
<span class="message">{{ escape(post["message"]) }}</span>
{% end %}
<div class="meta">
Please sign in to comment.
Something went wrong with that request. Please try again.