mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 00:16:46 -05:00
7919017118
[web] de-ng contact form GitOrigin-RevId: 8a92b37163555d6466e4b8c565f1ef490f73d49a
12 lines
331 B
JavaScript
12 lines
331 B
JavaScript
import { setupSearch } from './search'
|
|
|
|
document
|
|
.querySelectorAll('[data-ol-contact-form-with-search]')
|
|
.forEach(setupSearch)
|
|
|
|
document.querySelectorAll('a[ng-click="contactUsModal()"]').forEach(el => {
|
|
el.addEventListener('click', function (e) {
|
|
e.preventDefault()
|
|
$('[data-ol-contact-form-modal]').modal()
|
|
})
|
|
})
|