File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 33// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o!
44// @author KudoAI
55// @namespace https://kudoai.com
6- // @version 2025.5.26.5
6+ // @version 2025.5.26.6
77// @license MIT
88// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99// @icon 64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
218218 keys . flat ( ) . forEach ( key => config [ key ] = GM_getValue ( `${ app . configKeyPrefix } _${ key } ` , initDefaultVal ( key ) ) )
219219 function initDefaultVal ( key ) {
220220 return this . controls ?. [ key ] ?. defaultVal
221- ?? this . controls ?. [ key ] ?. type == 'slider' ? 100
222- : this . controls ?. [ key ] ?. type == 'toggle'
221+ ?? ( this . controls ?. [ key ] ?. type == 'slider' ? 100 : this . controls ?. [ key ] ?. type == 'toggle' )
223222 }
224223 } ,
225224 save ( key , val ) { GM_setValue ( `${ app . configKeyPrefix } _${ key } ` , val ) ; config [ key ] = val }
You can’t perform that action at this time.
0 commit comments