Skip to content

Commit

Permalink
Removed unused config.userLocale ↞ [auto-sync from https://github.c…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Nov 23, 2024
1 parent c94605e commit 25a28a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chatgpt/amazongpt/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.11.22.7
// @version 2024.11.22.8
// @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 @@ -362,7 +362,6 @@
label: `${app.msgs.menuLabel_about} ${app.name}...` }
}})
Object.assign(config, { minFontSize: 11, maxFontSize: 24, lineHeightRatio: 1.28 })
config.userLocale = env.browser.language.includes('-') ? env.browser.language.split('-')[1].toLowerCase() : ''
settings.load('autoFocusChatbarDisabled', 'autoScroll', 'bgAnimationsDisabled', 'expanded', 'fgAnimationsDisabled',
'fontSize', 'minimized', 'proxyAPIenabled', 'replyLanguage', 'scheme', 'streamingDisabled')
if (!config.replyLanguage) settings.save('replyLanguage', env.browser.language) // init reply language if unset
Expand Down

0 comments on commit 25a28a6

Please sign in to comment.