mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +00:00
fix number input
This commit is contained in:
@@ -19,6 +19,7 @@ iD.ui.preset.url = function(field) {
|
||||
var num = elem.value ?
|
||||
parseInt(elem.value, 10) : 0;
|
||||
if (!isNaN(num)) elem.value = num + x;
|
||||
change();
|
||||
}
|
||||
|
||||
if (field.type == 'number') {
|
||||
|
||||
Reference in New Issue
Block a user