Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html message option not working when set to true #11

Open
robertkaucher opened this issue May 24, 2013 · 0 comments
Open

html message option not working when set to true #11

robertkaucher opened this issue May 24, 2013 · 0 comments

Comments

@robertkaucher
Copy link

When setting the html option of the message option to true
message: {html: true, text: 'Aw yeah, <strong>It works!</strong>' }
the word true is displayed as the messages text rather than

Aw yeah, It works!

    if (this.options.message.html)
      this.$note.html(this.options.message.html);
    else if (this.options.message.text)
      this.$note.text(this.options.message.text);

Line 44 in bootstrap-notify.js should be

      this.$note.html(this.options.message.text);

Thanks for this excellent tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant