Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Simplified adding marker to the document.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarwrobel committed Feb 27, 2017
1 parent 48c0790 commit 3d1e2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/datacontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default class DataController {
markerData.endPath ? new ModelPosition( modelRoot, markerData.endPath ) : null
);

batch.setMarker( this.model.markers.set( markerName, range ) );
batch.setMarker( markerName, range );
}
} );
}
Expand Down

0 comments on commit 3d1e2a2

Please sign in to comment.