mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02: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:
@@ -194,7 +194,7 @@ function PdfSynctexControls() {
|
||||
setSyncToPdfInFlight(true)
|
||||
|
||||
if (clsiServerId) {
|
||||
params.set('clsiserverid', clsiServerId)
|
||||
params += `&clsiserverid=${clsiServerId}`
|
||||
}
|
||||
|
||||
getJSON(`/project/${projectId}/sync/code?${params}`, { signal })
|
||||
@@ -233,7 +233,7 @@ function PdfSynctexControls() {
|
||||
file: getCurrentFilePath(),
|
||||
line: cursorPosition.row + 1,
|
||||
column: cursorPosition.column,
|
||||
})
|
||||
}).toString()
|
||||
|
||||
goToPdfLocation(params)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user