We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5a8141 commit ad6a78bCopy full SHA for ad6a78b
1 file changed
petitnote/template/basic/js/common.js
@@ -364,7 +364,7 @@ document.addEventListener("DOMContentLoaded", () => {
364
365
// フェードイン/フェードアウトを管理する関数
366
const fade = (el, to, duration = 500) => {
367
- const startOpacity = parseFloat(el.style.opacity);
+ const startOpacity = parseFloat(el.style.opacity || 0);
368
let startTime = performance.now();
369
370
const fadeStep = (now) => {
0 commit comments