Skip to content

Commit

Permalink
Merged lines in handleProcessCompletion() ↞ [auto-sync from https:/…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 15, 2025
1 parent a164de1 commit 4a02c97
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chatgpt/duckduckgpt/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 2025.1.15.9
// @version 2025.1.15.10
// @license MIT
// @icon https://assets.ddgpt.com/images/icons/duckduckgpt/icon48.png?v=06af076
// @icon64 https://assets.ddgpt.com/images/icons/duckduckgpt/icon64.png?v=06af076
Expand Down Expand Up @@ -3333,8 +3333,7 @@
}

function handleProcessCompletion() {
caller.sender = null
if (env.browser.isChromium) clearTimeout(this.timeout)
caller.sender = null ; if (env.browser.isChromium) clearTimeout(this.timeout)
if (appDiv.querySelector('.loading')) // no text shown
api.tryNew(caller)
else { // text was shown
Expand Down

0 comments on commit 4a02c97

Please sign in to comment.