mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-25 20:41:23 +00:00
Fix group modal search persistence when closing the modal (#8525)
GitOrigin-RevId: 3b3dcdaa09439715e66cfbf522f397c6ae2c930c
This commit is contained in:
parent
51c870c285
commit
9e91685445
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ modalEl
|
|||
history.replaceState(null, document.title, path + '#groups')
|
||||
})
|
||||
.on('hidden.bs.modal', function () {
|
||||
history.replaceState(null, document.title, window.location.pathname)
|
||||
const path = `${window.location.pathname}${window.location.search}`
|
||||
history.replaceState(null, document.title, path)
|
||||
})
|
||||
|
||||
function showGroupPlanModal() {
|
||||
|
|
Loading…
Reference in a new issue