File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 13711371 function setAuthorName ( node ) {
13721372 //for https://github.com/soscripted/sox/issues/347
13731373 const prependToMessage = Object . keys ( settings ) . length !== 0 ? settings . addNameBeforeMessageOrAtTop : false ;
1374- const link = node . firstElementChild . href ;
1374+ const link = node . querySelector ( 'a' ) . href ;
13751375 if ( ! link ) return ;
13761376 let id ;
13771377 const matches = {
Original file line number Diff line number Diff line change 33// @namespace https://github.com/soscripted/sox
44// @homepage https://github.com/soscripted/sox
55// @homepageURL https://github.com/soscripted/sox
6- // @version 2.8.6 DEV
6+ // @version 2.8.7 DEV
77// @description Extra optional features for Stack Overflow and Stack Exchange sites
88// @contributor ᴉʞuǝ (https://stackoverflow.com/users/1454538/, https://github.com/mezmi)
99// @contributor ᔕᖺᘎᕊ (https://stackexchange.com/users/4337810/, https://github.com/shu8)
You can’t perform that action at this time.
0 commit comments