File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o!
4
4
// @author KudoAI
5
5
// @namespace https://kudoai.com
6
- // @version 2025.4.21.1
6
+ // @version 2025.4.21.2
7
7
// @license MIT
8
8
// @icon https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@0fddfc7/assets/images/icons/amazongpt/black-gold-teal/icon48.png
9
9
// @icon 64 https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@0fddfc7/assets/images/icons/amazongpt/black-gold-teal/icon64.png
1466
1466
appDiv : appDiv . getBoundingClientRect ( ) , toggleBtn : toggleElem . getBoundingClientRect ( ) ,
1467
1467
hoverMenu : hoverMenus [ menuType ] . div . getBoundingClientRect ( )
1468
1468
}
1469
- const appIsHigh = rects . toggleBtn . top < ( rects . hoverMenu . height + 15 ) ,
1470
- appIsLow = rects . hoverMenu . bottom > ( innerHeight - 15 )
1469
+ const appIsTooHigh = rects . toggleBtn . top < ( rects . hoverMenu . height + 15 ) ,
1470
+ appIsTooLow = rects . hoverMenu . bottom > ( innerHeight - 15 )
1471
1471
hoverMenus [ menuType ] . div . style . top = `${ rects . toggleBtn . top - rects . appDiv . top + (
1472
- menuType == 'pin' && appIsHigh || menuType == 'api' && ! appIsLow
1472
+ menuType == 'pin' && appIsTooHigh || menuType == 'api' && ! appIsTooLow
1473
1473
? /* point down */ 29 : /* point up */ - rects . hoverMenu . height - 13 ) } px`
1474
1474
hoverMenus [ menuType ] . rightPos = hoverMenus [ menuType ] . rightPos
1475
1475
|| rects . appDiv . right - event . clientX - hoverMenus [ menuType ] . div . offsetWidth / 2
You can’t perform that action at this time.
0 commit comments