Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
shame on me...
  • Loading branch information
Baptiste authored and lenybernard committed Nov 3, 2016
1 parent 98ab0f9 commit 2c58770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/toastr.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
hideMethod : '{{ options.hideMethod|default('fadeOut') }}'
};
var body = "{{ body|replace('\r\n|\n|\r', '<br/>')|raw|trans({}, translationDomain|default('messages'))) }}";
var body = "{{ body|replace('\r\n|\n|\r', '<br/>')|raw|trans({}, translationDomain|default('messages')) }}";
delay({% if timeout is defined and timeout != null %} {{ timeout }}{% else %} 1000{% endif %} , function() {
return toastr.{{ type }}(body,"{{ title|default(("alert."~type~".label")|trans({}, translationDomain|default('messages'))) }}");
});
Expand Down

0 comments on commit 2c58770

Please sign in to comment.