diff --git a/chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js b/chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js index 306bcf3f6..c858c724d 100644 --- a/chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js +++ b/chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js @@ -222,7 +222,7 @@ // @description:zu Yengeza Isikrini Esibanzi + Izindlela Zesikrini Esigcwele ku-chatgpt.com + perplexity.ai + poe.com ukuze uthole ukubuka okuthuthukisiwe + okuncishisiwe ukuskrola // @author Adam Lui // @namespace https://github.com/adamlui -// @version 2024.12.26.3 +// @version 2024.12.26.4 // @license MIT // @icon https://media.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?9a393be // @icon64 https://media.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?9a393be @@ -709,8 +709,8 @@ // Init UI props if (/chatgpt|openai/.test(env.site)) { sites[env.site].hasSidebar = !!await Promise.race([ - dom.getLoadedElement(sites.chatgpt.selectors.btns.sidebarToggle), // DOM element if sidebar toggle loads - dom.getLoadedElement(sites.chatgpt.selectors.btns.login).then(() => false), // null if login button loads + dom.getLoadedElem(sites.chatgpt.selectors.btns.sidebarToggle), // DOM element if sidebar toggle loads + dom.getLoadedElem(sites.chatgpt.selectors.btns.login).then(() => false), // null if login button loads new Promise(resolve => setTimeout(() => resolve(null), 3000)) // null if 3s passed ]) }