mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix for modal popup overlay bug
This commit is contained in:
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…
Reference in New Issue
Block a user