cleaned the code

This commit is contained in:
triptishukla 2019-10-17 14:10:08 +05:30
parent 4eca50d1c3
commit f0510d7d32

View file

@ -1077,7 +1077,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
document.querySelector("#edit-container-panel-usercontext-input").value = userContextId || NEW_CONTAINER_ID;
const containerName = document.querySelector("#edit-container-panel-name-input");
window.requestAnimationFrame(() => {
containerName.select();edit-container-panel-name-input
containerName.select();
containerName.focus();
});
[...document.querySelectorAll("[name='container-color']")].forEach(colorInput => {