We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98ab0f9 commit 2c58770Copy full SHA for 2c58770
Resources/views/toastr.html.twig
@@ -27,7 +27,7 @@
27
hideMethod : '{{ options.hideMethod|default('fadeOut') }}'
28
};
29
30
- 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')) }}";
31
delay({% if timeout is defined and timeout != null %} {{ timeout }}{% else %} 1000{% endif %} , function() {
32
return toastr.{{ type }}(body,"{{ title|default(("alert."~type~".label")|trans({}, translationDomain|default('messages'))) }}");
33
});
0 commit comments