Fix 1501
This commit is contained in:
5
Elecciones-Web/frontend/public/bootstrap.js
vendored
5
Elecciones-Web/frontend/public/bootstrap.js
vendored
@@ -64,7 +64,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Iniciar todo el proceso
|
||||
if (document.readyState === 'loading') { // Aún cargando
|
||||
document.addEventListener('DOMContentLoaded', initWidgets);
|
||||
} else { // Ya cargado
|
||||
initWidgets();
|
||||
}
|
||||
|
||||
})();
|
||||
Reference in New Issue
Block a user