CodeSeven / toastr

Simple javascript toast notifications

Home Page:http://www.toastrjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with title in message

shaendle opened this issue · comments

Hi,

i use toastr an call the function normaly with e.g. toastr[msgtype](msgtext, msgtitle, {timeOut: 5000, closeButton: true, progressBar: true, positionClass: "toast-top-center"})

My problem is, that the title is first in the message, but there is no line break. The text is directly after the title.

How can i insert a line break between the title an the message?

Thanks for help!

greets Sascha

My problem is, that the title is first in the message, but there is no line break. The text is directly after the title.
toastr[msgtype](msgtext, msgtitle, {timeOut: 5000, closeButton: true, progressBar: true, positionClass: "toast-top-center"})

in your msgtext you could just add <br>