how to remove fade issue in adminlte 2 modal code example
Example 1: how to remove fade issue in adminlte 2 modal
$(window).on('popstate', function() {
$(".modal-backdrop").remove();
});
Example 2: how to remove fade issue in adminlte 2 modal
//setting callback function for 'hidden.bs.modal' event
$('#modal').on('hidden.bs.modal', function(){
//remove the backdrop
$('.modal-backdrop').remove();
})
Example 3: how to remove fade issue in adminlte 2 modal
$('modalId').modal('hide');
Example 4: how to remove fade issue in adminlte 2 modal
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();