Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12 from tasatko/master

change some var's for checking
  • Loading branch information...
commit 9a9b5f96143e056c2646c2344811511b9f103a81 2 parents fe9bdc0 + 0a2b628
Matthieu Bontemps mbontemps authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Resources/views/js.html.twig
  2. +1 −1  Resources/views/list.html.twig
2  Resources/views/js.html.twig
View
@@ -10,7 +10,7 @@
var disqus_identifier = '{{ id.identifier }}';
{%- elseif id.link is defined -%}
var disqus_link = '{{ id.link }}';
- {%- else -%}
+ {%- elseif id.id is defined -%}
var disqus_id = '{{ id.id }}';
{%- endif -%}
2  Resources/views/list.html.twig
View
@@ -1,5 +1,5 @@
<div id="disqus_thread">
- {% if content.response|length > 0 %}
+ {% if content.response is defined and content.response|length > 0 %}
<style type="text/css">
#dsq-comments {padding: 10px 0 0}
.dsq-comment {position: relative;clear: both;margin: 0 0 1.5em;}
Please sign in to comment.
Something went wrong with that request. Please try again.