Prefer selection argument to this

This commit is contained in:
John Firebaugh
2013-03-22 12:58:56 -07:00
parent 697d15c3f5
commit 0ba855ed46

View File

@@ -6,7 +6,8 @@ iD.ui.preset.combo = function(field) {
function combo(selection) {
wrap = this.append('span').attr('class', 'input-wrap-position');
wrap = selection.append('span')
.attr('class', 'input-wrap-position');
input = wrap.append('input')
.attr('type', 'text')