Skip to content

Commit

Permalink
Revert "Improved Compatibility with IE (#219)"
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyowen authored Jul 6, 2021
1 parent 6870454 commit a14a7be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta name="theme-color" content="#000000" />
<meta name="title" content="Otlio: Open Source Todo Application" />
<meta name="description" content="An open source project, completed with highest standard security, which is easy to use and organize!" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Otlio: Open Source Todo Application</title>
Expand Down
9 changes: 4 additions & 5 deletions client/src/components/landing.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ const Landing = () => {
updateValue()
})
}
if (!window.IntersectionObserver) countAnimation()
else new IntersectionObserver(a => {
if(a[0].isIntersecting === true && stars && stars.getAttribute('data-stars')) countAnimation()
}, { threshold: [1] }).observe(document.getElementById('counter'))
}, [stars])
new IntersectionObserver(a => {
if(a[0].isIntersecting === true && stars && stars.getAttribute('data-stars')) countAnimation()
}, { threshold: [1] }).observe(document.getElementById('counter'))
}, [data.stars])

useEffect(() => {
var x = 0; var index = 0; var interval
Expand Down

0 comments on commit a14a7be

Please sign in to comment.