Skip to content

Commit

Permalink
Replaced .toReversed() w/ much older .reverse() to widen compatib…
Browse files Browse the repository at this point in the history
…ility ↞ [auto-sync from `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jul 21, 2024
1 parent 99cc836 commit 366282c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions greasemonkey/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.7.20.2
// @version 2024.7.21
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -3013,7 +3013,7 @@
hostContainer = document.querySelector(isMobile || isCentered ? '[data-area*="mainline"]'
: '[class*="sidebar"]')
appElems.forEach(elem => hostContainer.prepend(elem))
appElems.toReversed().forEach((elem, idx) => // fade in staggered
appElems.reverse().forEach((elem, idx) => // fade in staggered
setTimeout(() => elem.classList.add('active'), idx * 550 - 200))

// REPLACE hostContainer max-width w/ min-width for better UI
Expand Down

0 comments on commit 366282c

Please sign in to comment.