Update Metamaps.Topic.js
This commit is contained in:
parent
1efd78ad7b
commit
2219e0d0dd
1 changed files with 2 additions and 2 deletions
|
@ -331,7 +331,7 @@ Metamaps.Topic = {
|
|||
Metamaps.Topics.add(topic)
|
||||
|
||||
if (Metamaps.Create.newTopic.pinned) {
|
||||
var nextCoords = Metamaps.Map.getNextCoord()
|
||||
var nextCoords = Metamaps.AutoLayout.getNextCoord()
|
||||
}
|
||||
var mapping = new Metamaps.Backbone.Mapping({
|
||||
xloc: nextCoords ? nextCoords.x : Metamaps.Create.newTopic.x,
|
||||
|
@ -356,7 +356,7 @@ Metamaps.Topic = {
|
|||
var topic = self.get(id)
|
||||
|
||||
if (Metamaps.Create.newTopic.pinned) {
|
||||
var nextCoords = Metamaps.Map.getNextCoord()
|
||||
var nextCoords = Metamaps.AutoLayout.getNextCoord()
|
||||
}
|
||||
var mapping = new Metamaps.Backbone.Mapping({
|
||||
xloc: nextCoords ? nextCoords.x : Metamaps.Create.newTopic.x,
|
||||
|
|
Loading…
Reference in a new issue