Skip to content

Commit 6fc801e

Browse files
committed
Update js-calendar.js
1 parent 1831b3c commit 6fc801e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

assets/js-calendar.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ var cal = {
2020
hfColor : null, hfBG : null,
2121
hfDel : null,
2222

23-
// (A3) HELPER FUNCTIONS
24-
toDate : date => parseInt(date.replace(/-|T|:/g, "")),
23+
// (A3) HELPER FUNCTION - TRANSITION
2524
transit : swap => {
2625
if (document.startViewTransition) { document.startViewTransition(swap); }
2726
else { swap(); }

0 commit comments

Comments
 (0)