mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Fix input
This commit is contained in:
@@ -15,14 +15,13 @@ iD.ui.preset.url = function(field) {
|
||||
.on('change', change)
|
||||
.call(iD.behavior.accept().on('accept', event.close));
|
||||
|
||||
if (form.type == 'number') {
|
||||
var numbercontrols = selection.append('div')
|
||||
.attr('class','spin-control');
|
||||
if (field.type == 'number') {
|
||||
var numbercontrols = selection.append('div')
|
||||
.attr('class', 'spin-control');
|
||||
|
||||
numbercontrols.append('button').attr('class','ascend');
|
||||
numbercontrols.append('button').attr('class','descend');
|
||||
|
||||
};
|
||||
numbercontrols.append('button').attr('class', 'ascend');
|
||||
numbercontrols.append('button').attr('class', 'descend');
|
||||
}
|
||||
}
|
||||
|
||||
function change() {
|
||||
|
||||
Reference in New Issue
Block a user