feat(project): 시간 입력란 클릭 시 시간 피커 즉시 열기
시작/마감 시간 input(type=time) 클릭 시 showPicker() 로 드롭다운 즉시 표시. 시계 아이콘을 정확히 누르지 않아도 됨. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -600,6 +600,13 @@
|
||||
el("pj-t-usetime").addEventListener("change", function () {
|
||||
el("pj-time-row").hidden = !this.checked;
|
||||
});
|
||||
// 시간 입력란 클릭 시 즉시 시간 피커 드롭다운 열기
|
||||
["pj-t-stime", "pj-t-dtime"].forEach(function (id) {
|
||||
const inp = el(id);
|
||||
if (inp) inp.addEventListener("click", function () {
|
||||
try { this.showPicker(); } catch (_) {}
|
||||
});
|
||||
});
|
||||
|
||||
el("pj-save-task").addEventListener("click", async function () {
|
||||
const id = el("pj-t-id").value;
|
||||
|
||||
Reference in New Issue
Block a user