()
| 6 | import {wrap} from '../helpers/dom-utils.js'; |
| 7 | |
| 8 | function init(): void { |
| 9 | const element = $optional('.sha.user-select-contain:not(a *)'); |
| 10 | if (element) { |
| 11 | wrap(element, <a href={location.pathname.replace(/pull\/\d+\/commits/, 'commit')} />); |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | void features.add(import.meta.url, { |
| 16 | include: [ |