fix(): Ajuste na abertura de janela modal
This commit is contained in:
parent
50556ff2f3
commit
6438c091ed
1 changed files with 2 additions and 2 deletions
|
|
@ -11,10 +11,10 @@ function modalPage(create, width, sec, title, message, color, type, func, close,
|
|||
if (create === true) {
|
||||
|
||||
// Obtém a div pelo ID
|
||||
const div = document.getElementById('modal-block');
|
||||
const modal = document.getElementById('modal-block');
|
||||
|
||||
// Remove o elemento do DOM
|
||||
div.remove();
|
||||
modal.remove();
|
||||
|
||||
var div = '';
|
||||
var color_modal = '';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue