mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-08-30 00:59:53 +02:00
Refactor for dataset
This commit is contained in:
@@ -3,7 +3,7 @@ window.VT = window.VT || {};
|
||||
|
||||
VT.TodoDay = function (el) {
|
||||
var state = {
|
||||
dateId: el.getAttribute('data-key'),
|
||||
dateId: el.dataset.key,
|
||||
items: [],
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user