Skip to content

Commit a67838e

Browse files
authored
Merge pull request #1739 from voiddog/fix/ribbon
bug fix: Load the page for the first time, show ribbon
2 parents e47e577 + 618aa9a commit a67838e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/lib/canvas-ribbon/canvas-ribbon.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
x = f.random,
5555
targetA = false;
5656
c.width = d * l, c.height = r * l, a.scale(l, l), a.globalAlpha = .6, document.onclick = e, document.ontouchend = e, setTimeout(function() {
57-
e()
58-
}, 100)
59-
57+
targetA = true;
58+
e();
59+
}, 100);
6060
}();

0 commit comments

Comments
 (0)