mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-29 19:59:49 +03:00
Don't insert label element until this feature is fully implemented.
This commit is contained in:
parent
be382a47b6
commit
3049a81c94
1 changed files with 3 additions and 3 deletions
|
@ -70,11 +70,11 @@ $.ButtonGroup = function( options ) {
|
||||||
|
|
||||||
// TODO What if there IS an options.group specified?
|
// TODO What if there IS an options.group specified?
|
||||||
if( !options.group ){
|
if( !options.group ){
|
||||||
this.label = $.makeNeutralElement( "label" );
|
this.element.style.display = "inline-block";
|
||||||
|
//this.label = $.makeNeutralElement( "label" );
|
||||||
//TODO: support labels for ButtonGroups
|
//TODO: support labels for ButtonGroups
|
||||||
//this.label.innerHTML = this.labelText;
|
//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++ ) {
|
for ( i = 0; i < buttons.length; i++ ) {
|
||||||
this.element.appendChild( buttons[ i ].element );
|
this.element.appendChild( buttons[ i ].element );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue