From cb58ab546d2381bb6df5dccb57413f670bcdfb8a Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Wed, 27 Feb 2013 13:37:10 -0500 Subject: [PATCH] Handling checkbox with select inputs for now A plain checkbox won't properly handle indeterminate state. --- js/id/ui/preset.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/id/ui/preset.js b/js/id/ui/preset.js index eab66462b..50205f1fe 100644 --- a/js/id/ui/preset.js +++ b/js/id/ui/preset.js @@ -76,11 +76,6 @@ iD.ui.preset = function(context) { .attr('id', 'input-' + d.key) .attr('placeholder', 'http://example.com/'); break; - case 'check': - i = this.append('input') - .attr('type', 'checkbox') - .attr('id', 'input-' + d.key); - break; case 'select': wrap = this.append('span').attr('class', 'input-wrap-position'), i = wrap.append('input').attr('type', 'text');