From 3049a81c94e0088abef766e7f0f7e647e8bd6870 Mon Sep 17 00:00:00 2001 From: superbland Date: Wed, 31 Oct 2018 15:37:57 +0000 Subject: [PATCH] Don't insert label element until this feature is fully implemented. --- src/buttongroup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/buttongroup.js b/src/buttongroup.js index daee211c..8efcc7ec 100644 --- a/src/buttongroup.js +++ b/src/buttongroup.js @@ -70,11 +70,11 @@ $.ButtonGroup = function( options ) { // TODO What if there IS an options.group specified? if( !options.group ){ - this.label = $.makeNeutralElement( "label" ); + this.element.style.display = "inline-block"; + //this.label = $.makeNeutralElement( "label" ); //TODO: support labels for ButtonGroups //this.label.innerHTML = this.labelText; - this.element.style.display = "inline-block"; - this.element.appendChild( this.label ); + //this.element.appendChild( this.label ); for ( i = 0; i < buttons.length; i++ ) { this.element.appendChild( buttons[ i ].element ); }