Merge pull request #380 from DimalChandrasiri/master

Fix for modal popup overlay bug
revert-70aa11f8
Kamidu Sachith Punchihewa 8 years ago committed by GitHub
commit 8740eae61a

@ -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