mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 16:38:11 +08:00
Add Stipe donations to the website and polish other pages
This commit is contained in:
@@ -10,7 +10,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||
new IntersectionObserver((entries) => {
|
||||
entries.forEach((entry) => {
|
||||
if (!loaded && entry.intersectionRatio > VISIBILITY_COVERAGE_FRACTION) {
|
||||
player.play();
|
||||
player.removeAttribute("preload");
|
||||
player.setAttribute("autoplay", "");
|
||||
|
||||
loaded = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user