File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
chatgpt/autoclear-chatgpt-history Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 225
225
// @description :zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
226
226
// @author Adam Lui
227
227
// @namespace https://github.com/adamlui
228
- // @version 2025.5.26.3
228
+ // @version 2025.5.26.4
229
229
// @license MIT
230
230
// @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06
231
231
// @icon 64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06
343
343
load ( ...keys ) {
344
344
keys . flat ( ) . forEach ( key => config [ key ] = GM_getValue ( `${ app . configKeyPrefix } _${ key } ` , initDefaultVal ( key ) ) )
345
345
function initDefaultVal ( key ) {
346
- return this . controls ?. [ key ] ?. defaultVal
347
- ?? ( this . controls ?. [ key ] ?. type == 'slider' ? 100 : this . controls ?. [ key ] ?. type == 'toggle' )
346
+ const ctrlData = this . controls ?. [ key ]
347
+ return ctrlData ?. defaultVal ?? ( ctrlData ?. type == 'slider' ? 100 : ctrlData ?. type == 'toggle' )
348
348
}
349
349
} ,
350
350
You can’t perform that action at this time.
0 commit comments