mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +00:00
fix number input in opera
don't use input[type=number] since the buttons can't be hidden in opera
This commit is contained in:
@@ -24,6 +24,9 @@ iD.ui.preset.url = function(field) {
|
||||
}
|
||||
|
||||
if (field.type == 'number') {
|
||||
|
||||
input.attr('type', 'text');
|
||||
|
||||
var numbercontrols = selection.append('div')
|
||||
.attr('class', 'spin-control');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user