Skip to content

Commit

Permalink
Added env.browser.isMobile check before hiding tooltip in `show.rep…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Feb 4, 2025
1 parent 4124a76 commit 106a275
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions greasemonkey/googlegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2025.2.4.4
// @version 2025.2.4.5
// @license MIT
// @icon https://assets.googlegpt.io/images/icons/googlegpt/black/icon48.png?v=59409b2
// @icon64 https://assets.googlegpt.io/images/icons/googlegpt/black/icon64.png?v=59409b2
Expand Down Expand Up @@ -3878,7 +3878,8 @@
},

reply(answer) {
tooltipDiv.style.opacity = 0 // hide lingering tooltip if cursor was on corner button
if (!env.browser.isMobile) // hide lingering tooltip if cursor was on corner button
tooltipDiv.style.opacity = 0

// Build answer interface up to reply section if missing
if (!appDiv.querySelector('pre')) {
Expand Down

0 comments on commit 106a275

Please sign in to comment.