File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function setInitialState() {
1313 shouldOpenInSameTab : true ,
1414 questionsWithCodeFilter : false ,
1515 communityWikisFilter : false ,
16- duplicateQuestionsFilter : false ,
16+ excludeDuplicateQuestionsFilter : false ,
1717 answerTypeFilter : 0 ,
1818 customFilter : ""
1919 } , function ( items ) {
@@ -24,7 +24,7 @@ function setInitialState() {
2424 }
2525 document . getElementById ( 'question_with_code' ) . checked = items . questionsWithCodeFilter ;
2626 document . getElementById ( 'community_wikis' ) . checked = items . communityWikisFilter ;
27- document . getElementById ( 'duplicate_questions ' ) . checked = items . duplicateQuestionsFilter ;
27+ document . getElementById ( 'exclude_duplicate_questions ' ) . checked = items . excludeDuplicateQuestionsFilter ;
2828 document . getElementById ( 'answer_type' ) . options . selectedIndex = items . answerTypeFilter ;
2929 document . getElementById ( 'custom_filter' ) . value = items . customFilter ;
3030 } ) ;
@@ -52,9 +52,9 @@ function setListeners() {
5252 showSavedAlert ( ) ;
5353 } ) ;
5454 } ) ;
55- $ ( "#duplicate_questions " ) . on ( "change" , function ( ) {
55+ $ ( "#exclude_duplicate_questions " ) . on ( "change" , function ( ) {
5656 chrome . storage . sync . set ( {
57- duplicateQuestionsFilter : this . checked
57+ excludeDuplicateQuestionsFilter : this . checked
5858 } , function ( ) {
5959 showSavedAlert ( ) ;
6060 } ) ;
Original file line number Diff line number Diff line change 6565 </ div >
6666 < div class ="form-check ">
6767 < label class ="form-check-label ">
68- < input class ="form-check-input " type ="checkbox " name ="duplicate_questions " id ="duplicate_questions ">
68+ < input class ="form-check-input " type ="checkbox " name ="exclude_duplicate_questions " id ="exclude_duplicate_questions ">
6969 Exclude duplicate questions
7070 </ label >
7171 </ div >
You can’t perform that action at this time.
0 commit comments