Skip to content

Commit 6fc7ba3

Browse files
authored
Merge pull request #3254 from Alexandre887/master
Bug Fix
2 parents 2c8f0fc + 588117e commit 6fc7ba3

File tree

1 file changed

+2
-2
lines changed
  • 7-animation/2-css-animations/1-animate-logo-css/solution.view

1 file changed

+2
-2
lines changed

7-animation/2-css-animations/1-animate-logo-css/solution.view/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
<img id="flyjet" src="https://en.js.cx/clipart/flyjet.jpg">
2828

2929
<script>
30-
flyjet.onclick = function() {
30+
let ended = false;
3131

32-
let ended = false;
32+
flyjet.onclick = function() {
3333

3434
flyjet.addEventListener('transitionend', function() {
3535
if (!ended) {

0 commit comments

Comments
 (0)