mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 06:39:02 +02:00
Merge pull request #2173 from overleaf/bg-fix-track-changes-adapter-extensions
avoid exception for missing marker ids GitOrigin-RevId: 47faa35450cafef3c55a9b63787df1d9df9f1eaa
This commit is contained in:
+6
@@ -90,6 +90,9 @@ define(['ace/ace', 'ide/editor/EditorShareJsCodec'], function(
|
||||
}
|
||||
|
||||
onInsertRemoved(change) {
|
||||
if (this.changeIdToMarkerIdMap[change.id] == null) {
|
||||
return
|
||||
}
|
||||
const {
|
||||
background_marker_id,
|
||||
callout_marker_id
|
||||
@@ -101,6 +104,9 @@ define(['ace/ace', 'ide/editor/EditorShareJsCodec'], function(
|
||||
}
|
||||
|
||||
onDeleteRemoved(change) {
|
||||
if (this.changeIdToMarkerIdMap[change.id] == null) {
|
||||
return
|
||||
}
|
||||
const {
|
||||
background_marker_id,
|
||||
callout_marker_id
|
||||
|
||||
Reference in New Issue
Block a user