From a291e0dc71d99c18d5bfd256b3f8a4d761ccf086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Lui=20=E5=88=98=E5=B1=95=E9=B9=8F?= Date: Sat, 11 May 2024 07:36:17 -0700 Subject: [PATCH] Changed menu hidden/open alerts in `chatgpt.menu` methods to more appropriate `console.info` alerts --- chatgpt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatgpt.js b/chatgpt.js index 8bee749ca..84ee798dd 100644 --- a/chatgpt.js +++ b/chatgpt.js @@ -1155,13 +1155,13 @@ const chatgpt = { // eslint-disable-line no-redeclare close: function() { const menuBtn = document.querySelector('nav [id*="menu-button"][aria-expanded="true"]'); if (menuBtn) try { menuBtn.click(); } catch (err) { return console.error(err.message); } - else { console.error('Menu already hidden!'); } + else { console.info('Menu already hidden!'); } }, open: function() { const menuBtn = document.querySelector('nav [id*="menu-button"][aria-expanded="false"]'); if (menuBtn) try { menuBtn.click(); } catch (err) { return console.error(err.message); } - else { console.error('Menu already open!'); } + else { console.info('Menu already open!'); } } },