mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
Fix saving empty tag from inspector
This commit is contained in:
@@ -124,7 +124,7 @@ iD.Inspector = function() {
|
||||
|
||||
function grabtags() {
|
||||
var grabbed = [];
|
||||
function grab(d) { grabbed.push(d); }
|
||||
function grab(d) { if (d.key !== '') grabbed.push(d); }
|
||||
inspectorwrap.selectAll('li').each(grab);
|
||||
return grabbed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user