mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 20:13:46 -05:00
adding correct events on plans page (#15951)
GitOrigin-RevId: d86b9cff07b9179a80b19ecdca1542ff8f9c9cd1
This commit is contained in:
parent
8aedcec490
commit
310c938f80
2 changed files with 2 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
div.modal.fade(tabindex="-1" role="dialog" data-ol-group-plan-modal)
|
||||
.modal-dialog(role="document")
|
||||
.modal-content(
|
||||
event-tracking="form-submitted-groups-modal-open"
|
||||
event-tracking-mb="true"
|
||||
event-tracking-trigger="load"
|
||||
)
|
||||
.modal-content
|
||||
.modal-header
|
||||
button.close(
|
||||
type="button"
|
||||
|
|
|
@ -61,6 +61,7 @@ modalEl
|
|||
.on('shown.bs.modal', function () {
|
||||
const path = `${window.location.pathname}${window.location.search}`
|
||||
history.replaceState(null, document.title, path + '#groups')
|
||||
eventTracking.sendMB('form-submitted-groups-modal-open')
|
||||
})
|
||||
.on('hidden.bs.modal', function () {
|
||||
const path = `${window.location.pathname}${window.location.search}`
|
||||
|
|
Loading…
Reference in a new issue