Skip to content

Commit

Permalink
bugfix #3 - неверно формировались ссылки на внешние редакторы
Browse files Browse the repository at this point in the history
  • Loading branch information
CupIvan committed Jun 1, 2020
1 parent 901df6f commit 8236fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions i/osm.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ getType: function(a)
{
if (!a) return null

if (a.type) return a.type

const id = '' + (typeof(a) == 'object' ? a.id : a)

var type = 'node'
Expand Down

0 comments on commit 8236fee

Please sign in to comment.