File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const defaultConfig = {
75
75
customChatGptWebApiPath : '/backend-api/conversation' ,
76
76
customOpenAiApiUrl : 'https://api.openai.com' ,
77
77
siteRegex : 'match nothing' ,
78
- userSiteRegexOnly : false ,
78
+ useSiteRegexOnly : false ,
79
79
inputQuery : '' ,
80
80
appendQuery : '' ,
81
81
prependQuery : '' ,
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ async function prepareForRightClickMenu() {
267
267
268
268
async function prepareForStaticCard ( ) {
269
269
let siteRegex
270
- if ( userConfig . userSiteRegexOnly ) siteRegex = userConfig . siteRegex
270
+ if ( userConfig . useSiteRegexOnly ) siteRegex = userConfig . siteRegex
271
271
else
272
272
siteRegex = new RegExp (
273
273
( userConfig . siteRegex && userConfig . siteRegex + '|' ) + Object . keys ( siteConfig ) . join ( '|' ) ,
Original file line number Diff line number Diff line change @@ -297,10 +297,10 @@ function AdvancedPart({ config, updateConfig }) {
297
297
< label >
298
298
< input
299
299
type = "checkbox"
300
- checked = { config . userSiteRegexOnly }
300
+ checked = { config . useSiteRegexOnly }
301
301
onChange = { ( e ) => {
302
302
const checked = e . target . checked
303
- updateConfig ( { userSiteRegexOnly : checked } )
303
+ updateConfig ( { useSiteRegexOnly : checked } )
304
304
} }
305
305
/>
306
306
{ t ( 'Exclusively use Custom Site Regex for website matching, ignoring built-in rules' ) }
You can’t perform that action at this time.
0 commit comments