File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
16
16
const init = ( ) => {
17
17
if ( window . location . pathname . toLowerCase ( ) . includes ( "/projects/" ) )
18
- whenElementAdded ( ` #__primerPortalRoot__` , ( e ) => {
18
+ whenElementAdded ( " #__primerPortalRoot__" , ( e ) => {
19
19
e . addEventListener ( "DOMNodeInserted" , ( i ) => {
20
20
let svg ;
21
21
if ( i . target . querySelector && ( svg = i . target . querySelector ( "figure > span > svg" ) ) ) {
27
27
28
28
if ( window . location . pathname . toLowerCase ( ) === "/search" ) {
29
29
const apply = ( e ) => {
30
- for ( const path of e . querySelectorAll ( `path[d="M1 .5 8a6 .5 6.5 0 1113 0 6.5 6.5 0 01 -13 0zM0 8a8 8 0 1116 0A8 8 0 010 8zm11.78 -1.72a.75.75 0 00-1.06-1.06L6.75 9.19 5.28 7.72a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l4.5-4.5z "]` ) )
30
+ for ( const path of e . querySelectorAll ( `path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1 .5 0a6 .5 6.5 0 1 0 13 0 6.5 6.5 0 0 0 -13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018 -1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z "]` ) )
31
31
path . parentElement . classList . add ( "rissue-closed-fg" ) ;
32
32
} ;
33
33
Original file line number Diff line number Diff line change 4
4
"name" : " GitHub Red Issues" ,
5
5
"author" : " Katsute" ,
6
6
"description" : " Revert closed GitHub issues from purple back to red." ,
7
- "version" : " 4.1 " ,
7
+ "version" : " 4.2 " ,
8
8
"homepage_url" : " https://github.com/KatsuteDev/GitHub-Red-Issues" ,
9
9
"icons" : {
10
10
"16" : " icon16.png" ,
You can’t perform that action at this time.
0 commit comments