File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,9 @@ const selectors: { [key: string]: string } = {
2424 analyzeCodeResponse : 'analyze-code-response' ,
2525 fixCodeResponse : 'fix-code-response' ,
2626 fixCodeContainer : 'fix-code-container' ,
27- codeBtnContainer : 'code-btn-container' ,
2827 copyCodeBtn : 'copy-code-btn' ,
2928 clearCodeBtn : 'clear-code-btn' ,
3029 openSettingsBtn : 'open-settings-btn' ,
31-
3230} ;
3331
3432/* Chrome storage keys */
Original file line number Diff line number Diff line change @@ -94,18 +94,6 @@ document.addEventListener('DOMContentLoaded', () => {
9494 } ) ;
9595 } ) ;
9696
97- const showRatingBtn = document . getElementById ( 'show-rating-btn' ) ;
98- showRatingBtn && showRatingBtn . addEventListener ( 'click' , function ( ) {
99- chrome . storage . local . get ( [ 'showRating' ] , ( result ) => {
100- const showRating = ! result . showRating ;
101- chrome . storage . local . set ( { showRating : showRating } , ( ) => {
102- const showRatingIcon = document . getElementById ( 'show-rating-icon' ) ;
103- if ( showRatingIcon ) showRatingIcon . textContent = showRating ? '✅' : '❌' ;
104- safelySendMessage ( { action : 'updateDescription' , title : document . title || 'title' } ) ;
105- } ) ;
106- } ) ;
107- } ) ;
108-
10997 // Font size handler (simplified for this fix)
11098 fontSizeSelect && fontSizeSelect . addEventListener ( 'change' , function ( ) {
11199 const fontSize = this . value ;
You can’t perform that action at this time.
0 commit comments