mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #5981 from overleaf/jel-synctex-bug
Fix postMessage error for PDF detach SyncTeX GitOrigin-RevId: 701e92ca3d6bc20a6069d5290ee52d9d2d8f63b4
This commit is contained in:
parent
2772cc878c
commit
994b34bb2d
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ function PdfSynctexControls() {
|
||||||
setSyncToPdfInFlight(true)
|
setSyncToPdfInFlight(true)
|
||||||
|
|
||||||
if (clsiServerId) {
|
if (clsiServerId) {
|
||||||
params.set('clsiserverid', clsiServerId)
|
params += `&clsiserverid=${clsiServerId}`
|
||||||
}
|
}
|
||||||
|
|
||||||
getJSON(`/project/${projectId}/sync/code?${params}`, { signal })
|
getJSON(`/project/${projectId}/sync/code?${params}`, { signal })
|
||||||
|
@ -233,7 +233,7 @@ function PdfSynctexControls() {
|
||||||
file: getCurrentFilePath(),
|
file: getCurrentFilePath(),
|
||||||
line: cursorPosition.row + 1,
|
line: cursorPosition.row + 1,
|
||||||
column: cursorPosition.column,
|
column: cursorPosition.column,
|
||||||
})
|
}).toString()
|
||||||
|
|
||||||
goToPdfLocation(params)
|
goToPdfLocation(params)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue