Something went wrong on our end. Please try again.
Created by: lguychard
Fixes #4593
This unfortunately relies on inspecting the document's context (vs. just the code view context). It was the case before this fix as well (getCommitIDFromLink()
uses document.querySelector()
). The alternative would be to resolve single file code views to an element that encompasses the repo header: