meaningful-forks icon indicating copy to clipboard operation
meaningful-forks copied to clipboard

Fix the querySelector selection of source repository

Open copperwater opened this issue 3 years ago • 0 comments

Apparently github has at some point changed the DOM so that there is no span with a class of "current-repository". Instead, just assume that the source repository is always the first element in the list of forks, and get it with firstElementChild.

copperwater avatar Apr 01 '21 16:04 copperwater