diff --git a/greasemonkey/duckduckgpt.user.js b/greasemonkey/duckduckgpt.user.js index 8082056a866..0744c81ea69 100644 --- a/greasemonkey/duckduckgpt.user.js +++ b/greasemonkey/duckduckgpt.user.js @@ -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.11.11 +// @version 2024.11.14 // @license MIT // @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302 // @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302 @@ -801,11 +801,11 @@ // Append styled state word if (foundState) { - const styledState = document.createElement('span') - styledState.style.cssText = `font-weight: bold ; color: ${ + const styledStateSpan = document.createElement('span') + styledStateSpan.style.cssText = `font-weight: bold ; color: ${ foundState == menu.state.words[0] ? '#ef4848 ; text-shadow: rgba(255, 169, 225, 0.44) 2px 1px 5px' : '#5cef48 ; text-shadow: rgba(255, 250, 169, 0.38) 2px 1px 5px' }` - styledState.append(foundState) ; notif.insertBefore(styledState, notif.children[2]) + styledStateSpan.append(foundState) ; notif.insertBefore(styledStateSpan, notif.children[2]) } }