Skip to content

Commit

Permalink
fix (map): interactive button
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed Nov 5, 2023
1 parent ce11383 commit 0146f89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions _includes/mupa-mapa-2023.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/museu.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Museu {
const target = document.getElementById(id)
target.setAttribute('transform-origin', center)
target.setAttribute('transform', 'scale(5, 5)')
setInterval(this.out(id, center), 1000)
setInterval(function () {Museu.i.out(id, center)}, 10)
}
}

Expand Down

0 comments on commit 0146f89

Please sign in to comment.