forked from Botanical/BotanJS
Checkbox should wrapped with labels
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
{
|
||||
// Input fields
|
||||
var v_snippetInput = Dand.wrap("input", null, "v_snippet_input_single", null, new IKey("type", "text"))
|
||||
, input_preferred = Dand.wrapna('input', new IKey("type", "checkbox"))
|
||||
, input_preferred = Dand.wrapna( "input", new IKey( "type", "checkbox" ) )
|
||||
;
|
||||
|
||||
if ( this._stage )
|
||||
@@ -52,7 +52,7 @@
|
||||
"Insert site file"
|
||||
, Dand.wrape([
|
||||
v_snippetInput
|
||||
, Dand.wrape([ input_preferred, Dand.textNode( "Preferred" ) ])
|
||||
, Dand.wrape( Dand.wrapne( "label", [ input_preferred, "Preferred" ] ) )
|
||||
])
|
||||
, "OK", "Cancel"
|
||||
, visualizer.bind({
|
||||
|
||||
Reference in New Issue
Block a user