Fix for modal popup overlay bug

4.x.x
Imesh Chandrasiri 8 years ago
parent a8e7396589
commit 125b827f4f

@ -28,6 +28,16 @@ function inputIsValid(regExp, inputString) {
return regExp.test(inputString);
}
/*
* Fix for the modal popup overlay disappear bug
*/
$('.modal').on('hidden.bs.modal',function(){
if($('.modal-backdrop').length == 2){
$('.modal-backdrop')[0].remove()
}
});
$(document).ready(function () {
var modalPopup = ".modal";
// var modalPopupContainer = modalPopup + " .modal-content";

Loading…
Cancel
Save