mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
011e719fdf
[web] de-ng portals page GitOrigin-RevId: 2460c51fb0f81be758c5804e66803a98b614b304
10 lines
265 B
JavaScript
10 lines
265 B
JavaScript
import { inflightHelper } from '../form-helpers/hydrate-form'
|
|
|
|
function setup(el) {
|
|
inflightHelper(el)
|
|
el.addEventListener('click', function () {
|
|
el.dispatchEvent(new Event('pending'))
|
|
})
|
|
}
|
|
|
|
document.querySelectorAll('[data-ol-slow-link]').forEach(setup)
|