| 173 | /** Trigger a conversation update if the view is out of date */ |
| 174 | // https://github.com/refined-github/refined-github/issues/2465#issuecomment-567173300 |
| 175 | export function triggerConversationUpdate(): void { |
| 176 | const marker = $('.js-timeline-marker'); |
| 177 | marker.dispatchEvent( |
| 178 | new CustomEvent('socket:message', { |
| 179 | bubbles: true, |
| 180 | detail: {data: {gid: marker.dataset.gid}}, |
| 181 | }), |
| 182 | ); |
| 183 | } |
| 184 | |
| 185 | // Fix z-index issue https://github.com/refined-github/refined-github/pull/7430 |
| 186 | export function fixFileHeaderOverlap(child: Element): void { |