Skip to content

can't change progress bar color #222

@rshnGhost

Description

@rshnGhost

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions