mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-08-20 21:02:10 +02:00
some cleanups
This commit is contained in:
@@ -6,7 +6,7 @@ export function AppFlip(el, options) {
|
||||
// enable animations only after an initial delay
|
||||
setTimeout(() => {
|
||||
enabled = true;
|
||||
}, options.initialDelay || 100);
|
||||
}, options.initialDelay ?? 100);
|
||||
|
||||
// take a snapshot before any HTML changes
|
||||
// do this only for the first beforeFlip event in the current cycle
|
||||
|
Reference in New Issue
Block a user