Fix for modal popup overlay bug

revert-70aa11f8
Imesh Chandrasiri 8 years ago
parent a8e7396589
commit 125b827f4f

@ -28,6 +28,16 @@ function inputIsValid(regExp, inputString) {
return regExp.test(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 () { $(document).ready(function () {
var modalPopup = ".modal"; var modalPopup = ".modal";
// var modalPopupContainer = modalPopup + " .modal-content"; // var modalPopupContainer = modalPopup + " .modal-content";

Loading…
Cancel
Save