Open edjekadetje opened 3 years ago
Copy
If you are using additional styles for eg. metro or bootstrap. Avoid self closing HTML tags
$.notify.addStyle("metro", { html: "<div>" + "<div class='image' data-notify-html='image'></div>" + "<div class='text-wrapper'>" + "<div class='title' data-notify-html='title'></div>" + "<div class='text' data-notify-html='text'></div>" + "</div>" + "</div>", classes: {........
Use
<div>...</div>
instead of
<div ... />
I solved it by editing the notify-metro.js, that script has closing tags. Maybe update the lib with this
The text and title dont show anymore with latest jquery version