diff --git a/layout.html b/layout.html index ff71314..eb19c55 100644 --- a/layout.html +++ b/layout.html @@ -651,7 +651,7 @@ const template = document.querySelector("#schedule_row_template"); const template_clone = template.content.cloneNode(true); const grid = document.querySelector("#schedule_grid"); - template_clone.firstElementChild.innerHTML = `${hour.toString().padStart(2, "0")}:${minutes.toString().padStart(2, "0")}`; + template_clone.firstElementChild.innerHTML = `${hour.toString().padStart(2, "0")}:${minutes.toString().padStart(2, "0")}`; template_clone.firstElementChild.setAttribute('data-time', hour + ":" + minutes); grid.appendChild(template_clone); }