Skip to content

Commit

Permalink
Fix the rendering of deprecation log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed May 19, 2015
1 parent a810fd1 commit 8b6efff
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -112,6 +112,7 @@
{% macro display_message(log_index, log, is_deprecation) %}
{% if is_deprecation %}
{% set stack = log.context.stack|default([]) %}
{% set id = 'sf-call-stack-' ~ log_index %}

{% if stack %}
<a href="#" onclick="Sfjs.toggle('{{ id }}', document.getElementById('{{ id }}-on'), document.getElementById('{{ id }}-off')); return false;">
Expand Down

0 comments on commit 8b6efff

Please sign in to comment.