Skip to content

Commit

Permalink
Added reply balloon tip checks in fontSizeSlider.toggle() to accomm…
Browse files Browse the repository at this point in the history
…odate unused in dark mode
  • Loading branch information
adamlui committed Aug 24, 2024
1 parent ed62260 commit 33c90e9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions amazongpt/greasemonkey/amazongpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @description Adds the magic of AI to Amazon shopping
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.8.22.10
// @version 2024.8.22.11
// @license MIT
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
Expand Down Expand Up @@ -1603,12 +1603,12 @@
sliderTip.style.right = `${ rects.appDiv.right - ( rects.btnSpan.left + rects.btnSpan.right )/2 -35 }px`

// Show slider, hide reply tip
slider.style.display = '' ; replyTip.style.display = 'none'
slider.style.display = '' ; if (replyTip) replyTip.style.display = 'none'
setTimeout(() => slider.classList.add('active'), fontSizeSlider.fadeInDelay)

// Hide slider
} else if (state == 'off' || (!state && slider.style.display != 'none')) {
slider.classList.remove('active') ; replyTip.style.display = ''
slider.classList.remove('active') ; if (replyTip) replyTip.style.display = ''
setTimeout(() => slider.style.display = 'none', 55)
}
}
Expand Down
6 changes: 3 additions & 3 deletions bravegpt/greasemonkey/bravegpt.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-Brave Search (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.8.24.10
// @version 2024.8.24.11
// @license MIT
// @icon https://media.bravegpt.com/images/icons/bravegpt/icon48.png?0a9e287
// @icon64 https://media.bravegpt.com/images/icons/bravegpt/icon64.png?0a9e287
Expand Down Expand Up @@ -2080,12 +2080,12 @@ setTimeout(async () => {
sliderTip.style.right = `${ rects.appDiv.right - ( rects.btnSpan.left + rects.btnSpan.right )/2 -32 }px`

// Show slider, hide reply tip
slider.style.display = '' ; replyTip.style.display = 'none'
slider.style.display = '' ; if (replyTip) replyTip.style.display = 'none'
setTimeout(() => slider.classList.add('active'), fontSizeSlider.fadeInDelay)

// Hide slider
} else if (state == 'off' || (!state && slider.style.display != 'none')) {
slider.classList.remove('active') ; replyTip.style.display = ''
slider.classList.remove('active') ; if (replyTip) replyTip.style.display = ''
setTimeout(() => slider.style.display = 'none', 55)
}
}
Expand Down
6 changes: 3 additions & 3 deletions duckduckgpt/greasemonkey/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 2024.8.24.9
// @version 2024.8.24.10
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -1983,12 +1983,12 @@
sliderTip.style.right = `${ rects.appDiv.right - ( rects.btnSpan.left + rects.btnSpan.right )/2 -35.5 }px`

// Show slider, hide reply tip
slider.style.display = '' ; replyTip.style.display = 'none'
slider.style.display = '' ; if (replyTip) replyTip.style.display = 'none'
setTimeout(() => slider.classList.add('active'), fontSizeSlider.fadeInDelay)

// Hide slider
} else if (state == 'off' || (!state && slider.style.display != 'none')) {
slider.classList.remove('active') ; replyTip.style.display = ''
slider.classList.remove('active') ; if (replyTip) replyTip.style.display = ''
setTimeout(() => slider.style.display = 'none', 55)
}
}
Expand Down
6 changes: 3 additions & 3 deletions googlegpt/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 2024.8.24.11
// @version 2024.8.24.12
// @license MIT
// @icon https://media.googlegpt.io/images/icons/googlegpt/black/icon48.png?8652a6e
// @icon64 https://media.googlegpt.io/images/icons/googlegpt/black/icon64.png?8652a6e
Expand Down Expand Up @@ -2298,12 +2298,12 @@
sliderTip.style.right = `${ rects.appDiv.right - ( rects.btnSpan.left + rects.btnSpan.right )/2 -35.5 }px`

// Show slider, hide reply tip
slider.style.display = '' ; replyTip.style.display = 'none'
slider.style.display = '' ; if (replyTip) replyTip.style.display = 'none'
setTimeout(() => slider.classList.add('active'), fontSizeSlider.fadeInDelay)

// Hide slider
} else if (state == 'off' || (!state && slider.style.display != 'none')) {
slider.classList.remove('active') ; replyTip.style.display = ''
slider.classList.remove('active') ; if (replyTip) replyTip.style.display = ''
setTimeout(() => slider.style.display = 'none', 55)
}
}
Expand Down

0 comments on commit 33c90e9

Please sign in to comment.