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

can't change progress bar color #222

Open
rshnGhost opened this issue Sep 28, 2020 · 1 comment
Open

can't change progress bar color #222

rshnGhost opened this issue Sep 28, 2020 · 1 comment

Comments

@rshnGhost
Copy link

Problem:

previously progress bar was not responsive to change in type.

var notify = $.notify('<strong>Saving</strong> Do not close this page...', {
  	allow_dismiss: false,
  	showProgressbar: true
  });

  setTimeout(function() {
  	notify.update({'type': 'success', 'message': '<strong>Success</strong> Your page has been saved!', 'progress': 75});
  }, 4500);

here info is changed to success
but the color of progress bar is not changed.

progress-bar-{0} where {0} get type value.
but bootstrap need as bg-{0}

Solution:

replacing progress-bar-{0} with bg-{0} solves the problem.
thanku

@rshnGhost
Copy link
Author

@mouse0270 kindly look into the above Problem and suggested Solution

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