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